From 25812386cba7694bb1448dcd96694924e31eca0c Mon Sep 17 00:00:00 2001 From: Randa Firman Putra Date: Tue, 24 Jun 2025 01:19:06 +0700 Subject: [PATCH] Add Color For Category Jenis Pendaftaran --- components/JenisPendaftaranBeasiswaChart.tsx | 2 +- components/JenisPendaftaranBeasiswaPieChart.tsx | 2 +- components/JenisPendaftaranChart.tsx | 2 +- components/JenisPendaftaranLulusChart.tsx | 2 +- components/JenisPendaftaranLulusPieChart.tsx | 2 +- components/JenisPendaftaranPerAngkatanChart.tsx | 2 +- components/JenisPendaftaranPrestasiChart.tsx | 2 +- components/JenisPendaftaranPrestasiPieChart.tsx | 2 +- components/JenisPendaftaranStatusChart.tsx | 2 +- components/JenisPendaftaranStatusPieChart.tsx | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/components/JenisPendaftaranBeasiswaChart.tsx b/components/JenisPendaftaranBeasiswaChart.tsx index 9e02c45..3e15d91 100644 --- a/components/JenisPendaftaranBeasiswaChart.tsx +++ b/components/JenisPendaftaranBeasiswaChart.tsx @@ -167,7 +167,7 @@ export default function JenisPendaftaranBeasiswaChart({ selectedYear, selectedJe fill: { opacity: 1 }, - colors: ['#3B82F6', '#EC4899', '#10B981', '#F59E0B', '#EF4444', '#8B5CF6', '#06B6D4'], + colors: ['#3B82F6', '#10B981', '#F59E0B', '#EF4444', '#8B5CF6', '#EC4899', '#06B6D4', '#F97316'], tooltip: { theme: theme === 'dark' ? 'dark' : 'light', y: { diff --git a/components/JenisPendaftaranBeasiswaPieChart.tsx b/components/JenisPendaftaranBeasiswaPieChart.tsx index af33373..d474cf2 100644 --- a/components/JenisPendaftaranBeasiswaPieChart.tsx +++ b/components/JenisPendaftaranBeasiswaPieChart.tsx @@ -70,7 +70,7 @@ export default function JenisPendaftaranBeasiswaPieChart({ selectedYear, selecte } }, labels: [], - colors: ['#3B82F6', '#10B981', '#F59E0B', '#EF4444', '#8B5CF6', '#EC4899', '#06B6D4'], + colors: ['#3B82F6', '#10B981', '#F59E0B', '#EF4444', '#8B5CF6', '#EC4899', '#06B6D4', '#F97316'], legend: { position: 'bottom', fontSize: '14px', diff --git a/components/JenisPendaftaranChart.tsx b/components/JenisPendaftaranChart.tsx index 09a0cc6..c6acc15 100644 --- a/components/JenisPendaftaranChart.tsx +++ b/components/JenisPendaftaranChart.tsx @@ -100,7 +100,7 @@ export default function JenisPendaftaranChart() { colors: theme === 'dark' ? '#fff' : '#000' } }, - colors: ['#3B82F6', '#10B981', '#F59E0B', '#EF4444'], + colors: ['#3B82F6', '#10B981', '#F59E0B', '#EF4444', '#8B5CF6', '#EC4899', '#06B6D4', '#F97316'], tooltip: { theme: theme === 'dark' ? 'dark' : 'light', y: { diff --git a/components/JenisPendaftaranLulusChart.tsx b/components/JenisPendaftaranLulusChart.tsx index 6a6cc80..5840962 100644 --- a/components/JenisPendaftaranLulusChart.tsx +++ b/components/JenisPendaftaranLulusChart.tsx @@ -164,7 +164,7 @@ export default function JenisPendaftaranLulusChart({ selectedYear }: Props) { fill: { opacity: 1 }, - colors: ['#008FFB', '#00E396', '#FEB019', '#FF4560', '#775DD0'], + colors: ['#008FFB', '#00E396', '#FEB019', '#FF4560', '#775DD0', '#8B5CF6', '#EC4899', '#06B6D4', '#F97316'], tooltip: { theme: theme === 'dark' ? 'dark' : 'light', y: { diff --git a/components/JenisPendaftaranLulusPieChart.tsx b/components/JenisPendaftaranLulusPieChart.tsx index 135185b..189bff9 100644 --- a/components/JenisPendaftaranLulusPieChart.tsx +++ b/components/JenisPendaftaranLulusPieChart.tsx @@ -69,7 +69,7 @@ export default function JenisPendaftaranLulusPieChart({ selectedYear }: Props) { background: theme === 'dark' ? '#0F172B' : '#fff', }, labels: [], - colors: ['#3B82F6', '#10B981', '#F59E0B', '#EF4444', '#8B5CF6', '#EC4899'], + colors: ['#3B82F6', '#10B981', '#F59E0B', '#EF4444', '#8B5CF6', '#EC4899', '#06B6D4', '#F97316'], legend: { position: 'bottom', fontSize: '14px', diff --git a/components/JenisPendaftaranPerAngkatanChart.tsx b/components/JenisPendaftaranPerAngkatanChart.tsx index 3a76db0..74aa103 100644 --- a/components/JenisPendaftaranPerAngkatanChart.tsx +++ b/components/JenisPendaftaranPerAngkatanChart.tsx @@ -43,7 +43,7 @@ export default function JenisPendaftaranPerAngkatanChart({ tahunAngkatan }: Prop } }, labels: [], - colors: ['#3B82F6', '#10B981', '#F59E0B', '#EF4444', '#8B5CF6', '#EC4899'], + colors: ['#3B82F6', '#10B981', '#F59E0B', '#EF4444', '#8B5CF6', '#EC4899', '#06B6D4', '#F97316'], legend: { position: 'bottom', fontSize: '14px', diff --git a/components/JenisPendaftaranPrestasiChart.tsx b/components/JenisPendaftaranPrestasiChart.tsx index 9866b45..ed8e6a4 100644 --- a/components/JenisPendaftaranPrestasiChart.tsx +++ b/components/JenisPendaftaranPrestasiChart.tsx @@ -169,7 +169,7 @@ export default function JenisPendaftaranPrestasiChart({ selectedJenisPrestasi }: fill: { opacity: 1 }, - colors: ['#3B82F6', '#10B981', '#F59E0B', '#EF4444', '#8B5CF6', '#EC4899', '#06B6D4'], + colors: ['#3B82F6', '#10B981', '#F59E0B', '#EF4444', '#8B5CF6', '#EC4899', '#06B6D4', '#F97316'], tooltip: { theme: theme === 'dark' ? 'dark' : 'light', y: { diff --git a/components/JenisPendaftaranPrestasiPieChart.tsx b/components/JenisPendaftaranPrestasiPieChart.tsx index 934b6f8..cb5e98a 100644 --- a/components/JenisPendaftaranPrestasiPieChart.tsx +++ b/components/JenisPendaftaranPrestasiPieChart.tsx @@ -70,7 +70,7 @@ export default function JenisPendaftaranPrestasiPieChart({ selectedYear, selecte } }, labels: [], - colors: ['#3B82F6', '#10B981', '#F59E0B', '#EF4444', '#8B5CF6', '#EC4899', '#06B6D4'], + colors: ['#3B82F6', '#10B981', '#F59E0B', '#EF4444', '#8B5CF6', '#EC4899', '#06B6D4', '#F97316'], legend: { position: 'bottom', fontSize: '14px', diff --git a/components/JenisPendaftaranStatusChart.tsx b/components/JenisPendaftaranStatusChart.tsx index 2f64fa8..5c56c80 100644 --- a/components/JenisPendaftaranStatusChart.tsx +++ b/components/JenisPendaftaranStatusChart.tsx @@ -153,7 +153,7 @@ export default function JenisPendaftaranStatusChart({ selectedYear, selectedStat colors: theme === 'dark' ? '#fff' : '#000' } }, - colors: ['#008FFB', '#00E396', '#FEB019', '#FF4560', '#775DD0'], + colors: ['#008FFB', '#00E396', '#FEB019', '#FF4560', '#775DD0', '#8B5CF6', '#EC4899', '#06B6D4', '#F97316'], tooltip: { theme: theme === 'dark' ? 'dark' : 'light', y: { diff --git a/components/JenisPendaftaranStatusPieChart.tsx b/components/JenisPendaftaranStatusPieChart.tsx index db4167d..1cd2d31 100644 --- a/components/JenisPendaftaranStatusPieChart.tsx +++ b/components/JenisPendaftaranStatusPieChart.tsx @@ -71,7 +71,7 @@ export default function JenisPendaftaranStatusPieChart({ selectedYear, selectedS background: theme === 'dark' ? '#0F172B' : '#fff', }, labels: [], - colors: ['#3B82F6', '#10B981', '#F59E0B', '#EF4444', '#8B5CF6', '#EC4899'], + colors: ['#3B82F6', '#10B981', '#F59E0B', '#EF4444', '#8B5CF6', '#EC4899', '#06B6D4', '#F97316'], legend: { position: 'bottom', fontSize: '14px',