-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Radial Bar cannot set series value back to zero when angles are -180/180. #2737
Closed
echobops opened this issue
Oct 29, 2021
· 0 comments
· Fixed by TanDuy03/ntanduy-cloud#202 · 4 remaining pull requests
Closed
Radial Bar cannot set series value back to zero when angles are -180/180. #2737
echobops opened this issue
Oct 29, 2021
· 0 comments
· Fixed by TanDuy03/ntanduy-cloud#202 · 4 remaining pull requests
Labels
bug
Something isn't working
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Steps to Reproduce
chart.updateSeries([100]);
. Notice it is full.chart.updateSeries([0]);
. The bar is not updated from being full.chart.updateSeries([1]);
. The bar is quickly updated (not respecting the speed settings) and the bar isn't quite empty.Expected Behavior
When setting the series from an existing value, to zero, the bar should animate to zero (respecting the speed settings), or jump there if animation is set to false.
Actual Behavior
Setting the series value back to zero yields no response from the bar. Calling
chart.resetSeries();
after setting the series value to zero results in a completely full bar.Reproduction Link
https://codepen.io/Mantic/pen/XWaaBZg
In making the bug, I realized it was a result of the angles. I can set my angles to -179 and 180 and it seems to work as expected.
The text was updated successfully, but these errors were encountered: