diff --git a/lazy-timer-fe/src/components/Charts/Pie.jsx b/lazy-timer-fe/src/components/Charts/Pie.jsx new file mode 100644 index 0000000..a6d9483 --- /dev/null +++ b/lazy-timer-fe/src/components/Charts/Pie.jsx @@ -0,0 +1,46 @@ +import React from 'react'; +import { AccumulationChartComponent, AccumulationSeriesCollectionDirective, AccumulationSeriesDirective, AccumulationLegend, PieSeries, AccumulationDataLabel, Inject, AccumulationTooltip } from '@syncfusion/ej2-react-charts'; + +import { useStateContext } from '../../contexts/ContextProvider'; + +const Doughnut = ({ id, data, legendVisiblity, height }) => { + const { currentMode } = useStateContext(); + + return ( + + + + + + + ); +}; + +export default Doughnut;