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

Comments

Projects
None yet
2 participants
@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 sebastianbochan added the Bug label May 29, 2017

@sebastianbochan

This comment has been minimized.

Show comment
Hide comment
@sebastianbochan

sebastianbochan May 29, 2017

Contributor

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

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

Contributor

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