Browse Source

hide 0 values

pull/2/head
ardhi 2 years ago
parent
commit
16c2bc7a5d
  1. 9
      src/views/Dashboard/DashboardBOD.js

9
src/views/Dashboard/DashboardBOD.js

@ -570,7 +570,14 @@ const DashboardBOD = () => {
maxHeight: 300, maxHeight: 300,
}, },
datalabels: { datalabels: {
color: '#FFFFFF' color: '#FFFFFF',
formatter: function (value, context) {
// return value ? value : null
if (value && value > 0) {
return value;
}
else return null
}
} }
} }
}} }}

Loading…
Cancel
Save