diff --git a/src/views/Dashboard/DashboardBOD.js b/src/views/Dashboard/DashboardBOD.js index b6166ed..13ca274 100644 --- a/src/views/Dashboard/DashboardBOD.js +++ b/src/views/Dashboard/DashboardBOD.js @@ -570,7 +570,14 @@ const DashboardBOD = () => { maxHeight: 300, }, datalabels: { - color: '#FFFFFF' + color: '#FFFFFF', + formatter: function (value, context) { + // return value ? value : null + if (value && value > 0) { + return value; + } + else return null + } } } }}