-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compute the maxYLabelWith using the precision.
As I introduced the precision, the maxYLabelWith is not the width of the raw value but the width of the formatted one. As the computing the of maxYLabelWidth is done in calc(), I moved yInterval in it because I need it to compute the precision. Also I think it makes more sense, because the calc() method is supposed to "do any size-related calculations".
- Loading branch information
Showing
3 changed files
with
31 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.