Adding formatcurrecny at hover effect at Expense Breakdown.
This commit is contained in:
parent
ab34ea63fa
commit
9daeffd90e
@ -52,6 +52,18 @@ const ExpenseAnalysis = () => {
|
|||||||
legend: { show: false },
|
legend: { show: false },
|
||||||
dataLabels: { enabled: true, formatter: (val) => `${val.toFixed(0)}%` },
|
dataLabels: { enabled: true, formatter: (val) => `${val.toFixed(0)}%` },
|
||||||
colors: flatColors,
|
colors: flatColors,
|
||||||
|
tooltip: {
|
||||||
|
y: {
|
||||||
|
formatter: function (value) {
|
||||||
|
return formatCurrency(value);
|
||||||
|
},
|
||||||
|
},
|
||||||
|
x: {
|
||||||
|
formatter: function (label) {
|
||||||
|
return label;
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
plotOptions: {
|
plotOptions: {
|
||||||
pie: {
|
pie: {
|
||||||
donut: {
|
donut: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user