about summary refs log tree commit diff
path: root/src/pages/Home.tsx
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2024-07-07 10:47:35 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2024-07-07 10:47:35 +0200
commit8a55e8b91644a1840013d768878bb698d0196720 (patch)
treebed62f33081c59fcd6dd93b801887eb0b4fc6760 /src/pages/Home.tsx
parentComponents: LineGraph: Use timeframe for fetching data (diff)
downloadfs-tracer-frontend-8a55e8b91644a1840013d768878bb698d0196720.tar.gz
fs-tracer-frontend-8a55e8b91644a1840013d768878bb698d0196720.tar.bz2
fs-tracer-frontend-8a55e8b91644a1840013d768878bb698d0196720.zip
Components: DonutChart: Add file writes size percentiles graph
Diffstat (limited to 'src/pages/Home.tsx')
-rw-r--r--src/pages/Home.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx
index 1a02702..3d4d2c7 100644
--- a/src/pages/Home.tsx
+++ b/src/pages/Home.tsx
@@ -4,6 +4,7 @@ import { useNavigate } from "react-router-dom"
 import SideBar from "../components/Sidebar/Sidebar"
 import LineGraph from "../components/Graphs/LineGraph"
 import TimePicker from "../components/TimePicker/TimePicker"
+import DonutChart from "../components/Graphs/DonutChart"
 
 export default function Home(props: any) {
   const navigate = useNavigate()
@@ -60,7 +61,7 @@ export default function Home(props: any) {
             </div>
             <div className="flex flex-row gap-7 mb-5 flex-grow">
               <div className="w-1/2 mr-auto">
-                <LineGraph name="caca" supabase={props.supabase} timeframe={props.timeframe} />
+                <DonutChart name="File writes size percentiles" supabase={props.supabase} timeframe={props.timeframe} />
               </div>
               <div className="w-1/2 flex flex-col">
                 <p className="text-center">Most edited files</p>