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

Hover label incorrect when number is very small (or large?) #755

Closed
rreusser opened this issue Jul 20, 2016 · 0 comments · Fixed by #1932
Closed

Hover label incorrect when number is very small (or large?) #755

rreusser opened this issue Jul 20, 2016 · 0 comments · Fixed by #1932
Labels
bug something broken

Comments

@rreusser
Copy link
Contributor

rreusser commented Jul 20, 2016

Live example: http://codepen.io/rsreusser/pen/JKLGOL?editors=0010
(change min, max to see effect on when labels displayed correctly. I haven't figured out the pattern yet.)

Expected behavior: very small values show a hover label that represents the value. Shows scientific notation if beyond meaningful suffixes.

Observed behavior: Depending on the overall magnitudes involved, SI suffixes often just go missing. Which wouldn't be a big deal except for the fact that 1 when it should read 1n is actually incorrect.

See SI prefixes here: http://www.npl.co.uk/reference/measurement-units/si-prefixes/

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

Successfully merging a pull request may close this issue.

2 participants