Closed manijbasnet closed 1 year ago
the slice with that colour disappears
The "d" attribute of the path element of the slice seems to be broken.
d="M 0 0"
https://github.com/naver/billboard.js/blob/e35d0d00d4b23625b84ea68693247315ace2aeae/src/ChartInternal/shape/arc.ts#L358
It seems updated
can be null
when the label is same as a html color.
I could not see the reason though.
Hi @manijbasnet, it seems a side effect from #2938 (starting from v3.7)
Description
On a doughnut chart, if i have a label that is also a html colour name (e.g. Gold, Silver, etc), the slice with that colour disappears when my cursor enters the area. The slice does not reappear when my cursor leaves the area. Below is the example i used from the demo link (https://naver.github.io/billboard.js/demo/#Chart.DonutChart) but i have changed the label.
Steps to check or reproduce