Browse Source

fix: update color font chart

pull/3/head
wahyun 6 months ago
parent
commit
b644d1f0d9
  1. 2
      src/components/CardDashboard/CardDashboard.js
  2. 4
      src/views/Dashboard/DashboardBOD.js

2
src/components/CardDashboard/CardDashboard.js

@ -199,7 +199,7 @@ const optionsScheduleHealthPerDivision = {
} }
}, },
datalabels: { datalabels: {
color: '#FFFFFF' color: '#000'
} }
} }
} }

4
src/views/Dashboard/DashboardBOD.js

@ -492,7 +492,7 @@ const DashboardBOD = (props) => {
display: false, display: false,
}, },
datalabels: { datalabels: {
color: '#FFFFFF', color: '#000',
formatter: function (value, context) { formatter: function (value, context) {
return value ? toRupiah(value, { useUnit: 'jt' }) : 0; return value ? toRupiah(value, { useUnit: 'jt' }) : 0;
} }
@ -767,7 +767,7 @@ const DashboardBOD = (props) => {
display: false, display: false,
}, },
datalabels: { datalabels: {
color: '#FFFFFF' color: '#000'
} }
} }
}} }}

Loading…
Cancel
Save