Skip to content

Conversation

@etimberg
Copy link
Member

This should fix #1498

Rather than simply calling toString we try to figure out the optimal number of decimal places and then call toFixed instead.

tannerlinsley added a commit that referenced this pull request Oct 24, 2015
Better linear scale tick formatter + small tick generation
@tannerlinsley tannerlinsley merged commit 559ee62 into v2.0-dev Oct 24, 2015
@tannerlinsley tannerlinsley deleted the fix/rounding branch October 24, 2015 07:41
@etimberg etimberg mentioned this pull request Oct 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants