Adding formatcurrecny at hover effect at Expense Breakdown.

This commit is contained in:
Kartik Sharma 2025-12-11 10:54:24 +05:30
parent ab34ea63fa
commit 9daeffd90e

View File

@ -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: {