Skip to content

Conversation

@jcopperfield
Copy link
Contributor

Currently the logarithmic scale reverses the ticks for vertical axis and then checks if the axis is reverse and reverse it again.
The optimization sets the reverse flag for vertical axis and inverts the flag for the reverse ticks option, so that the reverse action is only applied once.

…hmic axis

              with ticks option 'reverse: true'.
Copy link
Member

@simonbrunel simonbrunel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks @jcopperfield

@etimberg etimberg merged commit 92d033b into chartjs:master Dec 23, 2017
@jcopperfield jcopperfield deleted the PR-20171223-buildticks-optimization branch December 23, 2017 14:43
yofreke pushed a commit to yofreke/Chart.js that referenced this pull request Dec 30, 2017
exwm pushed a commit to exwm/Chart.js that referenced this pull request Apr 30, 2021
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.

3 participants