Adding rupees symbol at hover effect.
This commit is contained in:
parent
8e68b5d487
commit
b6bce04160
@ -50,6 +50,11 @@ const ExpenseAnalysis = () => {
|
|||||||
chart: { type: "donut" },
|
chart: { type: "donut" },
|
||||||
labels,
|
labels,
|
||||||
legend: { show: false },
|
legend: { show: false },
|
||||||
|
tooltip: {
|
||||||
|
y: {
|
||||||
|
formatter: (value) => formatCurrency(value),
|
||||||
|
},
|
||||||
|
},
|
||||||
dataLabels: { enabled: true, formatter: (val) => `${val.toFixed(0)}%` },
|
dataLabels: { enabled: true, formatter: (val) => `${val.toFixed(0)}%` },
|
||||||
colors: flatColors,
|
colors: flatColors,
|
||||||
plotOptions: {
|
plotOptions: {
|
||||||
@ -127,7 +132,7 @@ const ExpenseAnalysis = () => {
|
|||||||
options={donutOptions}
|
options={donutOptions}
|
||||||
series={series}
|
series={series}
|
||||||
type="donut"
|
type="donut"
|
||||||
width="70%"
|
width="75%"
|
||||||
height={320}
|
height={320}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user