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

Polar Area not showing when values are all identical. #118

Closed
henrysullivan opened this issue May 28, 2013 · 5 comments
Closed

Polar Area not showing when values are all identical. #118

henrysullivan opened this issue May 28, 2013 · 5 comments

Comments

@henrysullivan
Copy link

If you put all identical values into the data the chart does not show. as soon as one of these values is changed the chart appears again.

@mathlarocque
Copy link

same thing in Bar chart, when I got identical value there is no gradation nor values...

@WimAtIHomer
Copy link

There is a problem with the scale in all the chart types when all the values are identical, a workaround is to specify the scaleoverride options:

//Boolean - If we want to override with a hard coded scale
scaleOverride : false,
//** Required if scaleOverride is true **
//Number - The number of steps in a hard coded scale
scaleSteps : null,
//Number - The value jump in the hard coded scale
scaleStepWidth : null,
//Number - The centre starting value
scaleStartValue : null,

@mathlarocque
Copy link

thanks for the fast easy-fix.

@nnnick
Copy link
Member

nnnick commented Jun 5, 2013

This is something that needs fixing all round, but needs a bit of thought for implementation.

I think when all of the values are the same, the generated scale should be +/-1 from the value, with the line or segment sitting right in the center.

@nnnick
Copy link
Member

nnnick commented Jun 5, 2013

Thanks for the solution @WimAtIHomer. Closing as duplicate to #76

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

4 participants