-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resolve #1988 - 🔪 ax._boundingBox (!)
- replace it with getLabelLevelBBox (an extension of getLabelLevelSpan), to compute axis margin push values. Use cache to not have to compute the (costly) label bounding boxes unnecessarily - compute ax._depth during Axes.drawOne, which is the measure in px between axis position and outward-most part of bounding box, we use this for (1) multicategory label, (2) axis title and (3) rangeslider positioning
- Loading branch information
Showing
3 changed files
with
148 additions
and
162 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
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
Oops, something went wrong.