Skip to content

Conversation

@kurkle
Copy link
Member

@kurkle kurkle commented Jan 1, 2019

http://jsfiddle.net/eg3894u5/3/ Update: http://jsfiddle.net/eg3894u5/4/ Another update: http://jsfiddle.net/eg3894u5/5/ Sanitizing v1: http://jsfiddle.net/eg3894u5/6/ Latest version: http://jsfiddle.net/eg3894u5/7/

https://codepen.io/kurkle/pen/WLzeJM (9b69423)

Fixes: #5932

@etimberg
Copy link
Member

etimberg commented Jan 1, 2019

@kurkle What would be the best way to test this?

@kurkle
Copy link
Member Author

kurkle commented Jan 1, 2019

@kurkle What would be the best way to test this?

Added a simple test for the specific issue.

@benmccann
Copy link
Contributor

@kurkle can you rebase this PR against master?

@kurkle kurkle force-pushed the #5932 branch 2 times, most recently from 10c36c2 to 38dc932 Compare January 1, 2019 18:57
benmccann
benmccann previously approved these changes Jan 2, 2019
@kurkle
Copy link
Member Author

kurkle commented Jan 3, 2019

After discussing this with @simonbrunel, found a much cleaner solution.

benmccann
benmccann previously approved these changes Jan 3, 2019
@kurkle

This comment has been minimized.

@simonbrunel

This comment has been minimized.

@kurkle

This comment has been minimized.

@kurkle kurkle changed the title Work around rounding issue in generateTicks by increasing spacing until we get a range. Fix generateTicks when working with tiny numbers Jan 3, 2019
@simonbrunel

This comment has been minimized.

@kurkle

This comment has been minimized.

@kurkle
Copy link
Member Author

kurkle commented Jan 7, 2019

rebased

@simonbrunel simonbrunel requested a review from etimberg January 8, 2019 13:10
@simonbrunel simonbrunel merged commit 9d7eacd into chartjs:master Jan 9, 2019
@simonbrunel
Copy link
Member

Thanks @kurkle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants