-
Notifications
You must be signed in to change notification settings - Fork 169
Open
Description
If I have an options
object inside a component, with a label formatter, the chart will not update.
In my project this started happening after bumping apexcharts
to 4.6.0
, but in codepen it seems like it doesn't matter which version of apexcharts
you use.
const options = {
tooltip: {
enabled: false
},
colors: ["red", "grey"],
plotOptions: {
pie: {
donut: {
size: "46%",
labels: {
show: true,
total: {
show: true,
label: "",
//adding this will enable the bug
formatter: () => {
return "Any formatter will enable the bug";
}
}
}
}
}
},
legend: {
show: false
}
};
apexcharts version: 4.7.0
react-apexcharts version: 1.7.0
Metadata
Metadata
Assignees
Labels
No labels