From cd7e6022545660691bfb380d6c7f41180c34c3dd Mon Sep 17 00:00:00 2001 From: amal Date: Fri, 28 Nov 2025 10:57:58 +0800 Subject: [PATCH] upd: menu home Deskripsi : - tampilan grafik NO Issues --- src/components/DashboardGrafik.tsx | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/components/DashboardGrafik.tsx b/src/components/DashboardGrafik.tsx index ef31883..0748231 100644 --- a/src/components/DashboardGrafik.tsx +++ b/src/components/DashboardGrafik.tsx @@ -1,6 +1,6 @@ import apiFetch from "@/lib/apiFetch"; -import { Card, Divider, Flex, Stack, Title } from "@mantine/core"; -import { IconSettings } from "@tabler/icons-react"; +import { Card, Divider, Flex, Stack, Text, Title } from "@mantine/core"; +import { IconChartBar } from "@tabler/icons-react"; import type { EChartsOption } from "echarts"; import EChartsReact from "echarts-for-react"; import { useEffect, useState } from "react"; @@ -21,7 +21,7 @@ export default function DashboardGrafik() { darkMode: true, animation: true, legend: { - textStyle: { color: "#fff" } // warna legend putih + textStyle: { color: "#fff" } }, tooltip: {}, dataset: { @@ -34,7 +34,8 @@ export default function DashboardGrafik() { }, yAxis: { type: "value", - minInterval: 1 + minInterval: 1, + axisLabel: { color: "#fff" } }, color: ["#1abc9c", "#10816aff"], series: [ @@ -62,20 +63,19 @@ export default function DashboardGrafik() { boxShadow: "0 0 25px rgba(0,255,200,0.08)", }} > - + - - System Performance - - + + + Grafik Pengaduan dan Pelayanan Surat + + 7 Hari Terakhir + + - - {/* - - - */} +