Skip to content
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
Closed

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

kzoon opened this issue Aug 30, 2017 · 1 comment
Assignees
Labels

Comments

@kzoon
Copy link

@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
Copy link
Contributor

@KacperMadej 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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants