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

Y Axis labels misleading when values are huge #6774

Closed
sagargurtu opened this issue May 29, 2017 · 1 comment
Closed

Y Axis labels misleading when values are huge #6774

sagargurtu opened this issue May 29, 2017 · 1 comment
Labels

Comments

@sagargurtu
Copy link

@sagargurtu sagargurtu commented May 29, 2017

Expected behaviour

When values are huge, the y axis labels should be correctly rendered. (At least the exponent part should be consistent throughout the ticks)

Actual behaviour

The y axis labels rendered in the following fiddle are misleading since the sequence is wrong (8 to 1) and there is a direct jump from 1 to 1.2e+23

Live demo with steps to reproduce

http://jsfiddle.net/an096w0k/

Affected browser(s)

Chrome

@sebastianbochan
Copy link
Contributor

@sebastianbochan sebastianbochan commented May 29, 2017

Thank you for the reporting. It looks like a bug with defaultFormatter.

Workaround
Use xAxis.labels.formatter and return this.value.

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
2 participants