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 + + - - {/* - - - */} +