-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Steps to Reproduce
- Create a radial bar with gradient as per the example in documentation, except the startAngle is -180 and endAngle 180. Start the series with a value of [0]. Notice how the value bar is empty.
- Set the series value to a number:
chart.updateSeries([100]);
. Notice it is full. - Set the series value back to zero:
chart.updateSeries([0]);
. The bar is not updated from being full. - Set the series value to 1:
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.
holotrek, litera and sudhanshuw360sudhanshuw360
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working