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 },
|
||||
dataLabels: { enabled: true, formatter: (val) => `${val.toFixed(0)}%` },
|
||||
colors: flatColors,
|
||||
tooltip: {
|
||||
y: {
|
||||
formatter: function (value) {
|
||||
return formatCurrency(value);
|
||||
},
|
||||
},
|
||||
x: {
|
||||
formatter: function (label) {
|
||||
return label;
|
||||
},
|
||||
},
|
||||
},
|
||||
plotOptions: {
|
||||
pie: {
|
||||
donut: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user