From 81f1c41c08392c1a703c7f904eae222af7a21a54 Mon Sep 17 00:00:00 2001 From: shola Date: Tue, 2 Dec 2025 07:26:09 +0700 Subject: [PATCH] feat: add self-hosted chart js --- Views/Dashboard/Index.cshtml | 2 +- Views/DashboardRw/Index.cshtml | 2 +- Views/LaporanCapaian/Index.cshtml | 5 ++--- Views/LaporanCapaianBulanan/Index.cshtml | 6 +++--- Views/LaporanCapaianWilayah/Index.cshtml | 9 +++------ wwwroot/lib/chart.js/chart.umd.js | 14 ++++++++++++++ .../chartjs-plugin-annotation.min.js | 7 +++++++ .../chartjs-plugin-datalabels.min.js | 7 +++++++ 8 files changed, 38 insertions(+), 14 deletions(-) create mode 100644 wwwroot/lib/chart.js/chart.umd.js create mode 100644 wwwroot/lib/chartjs-plugin-annotation/chartjs-plugin-annotation.min.js create mode 100644 wwwroot/lib/chartjs-plugin-datalabels/chartjs-plugin-datalabels.min.js diff --git a/Views/Dashboard/Index.cshtml b/Views/Dashboard/Index.cshtml index a1dc2b8..6664abb 100644 --- a/Views/Dashboard/Index.cshtml +++ b/Views/Dashboard/Index.cshtml @@ -194,7 +194,7 @@ - + + - + + - - + + + - - - + + +