diff --git a/components/dashboard/Graph/Graph.js b/components/dashboard/Graph/Graph.js index a4772bd..a9b587e 100644 --- a/components/dashboard/Graph/Graph.js +++ b/components/dashboard/Graph/Graph.js @@ -1,8 +1,108 @@ -export default function graph() { - return ( -
- Graph -
- ) +import React from 'react' + +import { ResponsiveContainer, AreaChart, Area, XAxis, YAxis, CartesianGrid, Legend, Tooltip } from 'recharts'; + +const Graph = () => { + return ( + <> + + + + + + + + + + + + + + + + + + + + + ) + } + +const pdata = [ + + { + + WeekDay: 'Sunday', + + Day: 18, + + fees: 20 + + }, + + { + + WeekDay: 'Monday', + + Day: 13, + + fees: 10 + + }, + + { + + WeekDay: 'Tuesday', + + Day: 8, + + fees: 10 + + }, + + { + + WeekDay: 'Wednesday', + + Day: 15, + + fees: 5 + + }, + + { + + WeekDay: 'Thursday', + + Day: 10, + + fees: 15 + + }, + + { + + WeekDay: 'Friday', + + Day: 5, + + fees: 20 + + }, + + { + + WeekDay: 'Saturday', + + Day: 6, + + fees: 20 + + } + +]; + +export default Graph