-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doughnut slice disappears when data label is same as a html colour #3321
Comments
manijbasnet
changed the title
Doughnut slice disappear when data label is a html colour name
Doughnut slice disappears when data label is same as a html colour
Aug 4, 2023
The "d" attribute of the path element of the slice seems to be broken. |
billboard.js/src/ChartInternal/shape/arc.ts Line 358 in e35d0d0
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) |
netil
pushed a commit
to netil/billboard.js
that referenced
this issue
Aug 9, 2023
For interpolation, make sure to be applied only necessary values. Issue happend becasue colorish string were interpolated, which transformed id values as interpolated color string. Ref naver#3321
netil
pushed a commit
to netil/billboard.js
that referenced
this issue
Aug 9, 2023
For interpolation, make sure to be applied only necessary values. Issue happened because colorish string were interpolated, which transformed id values as interpolated color string. Ref naver#3321
netil
pushed a commit
to netil/billboard.js
that referenced
this issue
Aug 9, 2023
For interpolation, make sure to be applied only necessary values. Issue happened because colorish string were interpolated, which transformed id values as interpolated color string. Ref naver#3321
netil
added a commit
that referenced
this issue
Aug 9, 2023
For interpolation, make sure to be applied only necessary values. Issue happened because colorish string were interpolated, which transformed id values as interpolated color string. Fix #3321
github-actions bot
pushed a commit
that referenced
this issue
Aug 9, 2023
## [3.9.3](3.9.2...3.9.3) (2023-08-09) ### Bug Fixes * **arc:** Fix shape rendering when data id equivalent of color string ([047d1db](047d1db)), closes [#3321](#3321)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: