Implemented the dashboard progress bars.

This commit is contained in:
M M committed 2024-05-25 21:35:37 -07:00
1 parent e319f3b208
commit 54220a6125
5 files changed
+253 -1

No files matched your search

Whitespace-only changes.
@@ -0,0 +1,19 @@
import { BarChart } from '@mui/x-charts/BarChart';
const ChartsOverviewDemo = () => {
return (
<BarChart
series={[
{ data: [35, 44, 24, 34] },
{ data: [51, 6, 49, 30] },
{ data: [15, 25, 30, 50] },
{ data: [60, 50, 15, 25] },
]}
height={290}
xAxis={[{ data: ['Q1', 'Q2', 'Q3', 'Q4'], scaleType: 'band' }]}
margin={{ top: 10, bottom: 30, left: 40, right: 10 }}
/>
);
};
export default ChartsOverviewDemo;
+3 -1
View File
@@ -1,8 +1,9 @@
import React from 'react'
import NavBar from '../../Components/NavBar'
import { Outlet } from 'react-router'
import Home from '../../Pages/Home'
import './index.css'
import ChartsOverviewDemo from '../../Components/DashboardProgressBars'
const HomeLayout = () => {
return (
@@ -10,6 +11,7 @@ const HomeLayout = () => {
<NavBar />
<Home />
<Outlet />
<ChartsOverviewDemo />
</>
)
}