From 15cb6c3ff1fb64c7ecea8197bb5b465b2410adde Mon Sep 17 00:00:00 2001 From: ardhi Date: Wed, 22 Feb 2023 11:08:18 +0700 Subject: [PATCH] remove labels --- src/views/Dashboard/DashboardBOD.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/Dashboard/DashboardBOD.js b/src/views/Dashboard/DashboardBOD.js index 95cc579..b6166ed 100644 --- a/src/views/Dashboard/DashboardBOD.js +++ b/src/views/Dashboard/DashboardBOD.js @@ -621,7 +621,8 @@ const DashboardBOD = () => { datalabels: { color: '#FFFFFF', formatter: function (value, context) { - return value ? toRupiah(value, { useUnit: 'jt' }) : 0 + // return value ? toRupiah(value, { useUnit: 'jt' }) : 0 + return null; } } } @@ -771,7 +772,8 @@ const DashboardBOD = () => { color: '#FFFFFF', // rotation: -90 formatter: function (value, context) { - return value ? toRupiah(value, { useUnit: 'jt' }) : 0 + // return value ? toRupiah(value, { useUnit: 'jt' }) : 0 + return null; } } }