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

Bug when displaying negative values in doughnut chart #4893

Closed
osmartakashi opened this issue Oct 26, 2017 · 2 comments
Closed

Bug when displaying negative values in doughnut chart #4893

osmartakashi opened this issue Oct 26, 2017 · 2 comments

Comments

@osmartakashi
Copy link

Hi, I have a project in wich I have a doughnut chart that when the values are positive everything is ok, but if ALL values are negative eg: -100, -45, etc... there is a problem when the doughnut is displayed. It shows just 2 of the 4 values in the returned array, and also the tooltip color is not the correspondent color of the doughnut itself. Here is the displaying chart:

negative_values

@etimberg
Copy link
Member

@osmartakashi can you post a jsfiddle that reproduces this that we can use for testing?

@Naveen29
Copy link

hi,
I'm also getting same issue as above. please help us to resolve it.

check the chart with different data as

  1. data: [-10, 0]
  2. data: [-10, -10]
  3. data: [0,-100]
  4. data: [0, 0]

for ur reference
https://jsfiddle.net/Naveen29/ooxdL2vj/485/

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

No branches or pull requests

3 participants