diff --git a/lazy-timer-fe/src/components/Charts/Stacked.jsx b/lazy-timer-fe/src/components/Charts/Stacked.jsx new file mode 100644 index 0000000..db45234 --- /dev/null +++ b/lazy-timer-fe/src/components/Charts/Stacked.jsx @@ -0,0 +1,31 @@ +import React from 'react'; +import { ChartComponent, SeriesCollectionDirective, SeriesDirective, Inject, Legend, Category, StackingColumnSeries, Tooltip } from '@syncfusion/ej2-react-charts'; + +import { stackedCustomSeries, stackedPrimaryXAxis, stackedPrimaryYAxis } from '../../data/dummy'; +import { useStateContext } from '../../contexts/ContextProvider'; + +const Stacked = ({ width, height }) => { + const { currentMode } = useStateContext(); + + return ( + + + + {/* eslint-disable-next-line react/jsx-props-no-spreading */} + {stackedCustomSeries.map((item, index) => )} + + + ); +}; + +export default Stacked;