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

Updating a pie chart to all negative values doesn't clear the slices #7113

Closed
kzoon opened this Issue Aug 30, 2017 · 1 comment

Comments

Projects
None yet
3 participants
@kzoon

kzoon commented Aug 30, 2017

Expected behaviour

When you update a pie chart series with all negative number, no pie slices should remain visible (just like when you open a new pie chart with all negative values.

Actual behaviour

The original pie slices remain visible

Live demo with steps to reproduce

http://jsfiddle.net/L5swc1bu/1/

Affected browser(s)

All

@KacperMadej

This comment has been minimized.

Show comment
Hide comment
@KacperMadej

KacperMadej Aug 31, 2017

Contributor

Hi,

Thank you for reporting the inconsistency. Negative values for a pie type series doesn't make much sens, but the inconsistency is visible.

Workaround: add a negative value to the starting data. Demo: http://jsfiddle.net/L5swc1bu/2/

Contributor

KacperMadej commented Aug 31, 2017

Hi,

Thank you for reporting the inconsistency. Negative values for a pie type series doesn't make much sens, but the inconsistency is visible.

Workaround: add a negative value to the starting data. Demo: http://jsfiddle.net/L5swc1bu/2/

@KacperMadej KacperMadej added the Bug label Aug 31, 2017

@TorsteinHonsi TorsteinHonsi self-assigned this Aug 31, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment