-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
With padding enabled auto grow ranging was broken (see #465, thanks to @ennerf for reporting) because the padding was applied to the auto range stored in the axis. Because of this the padding was added each time the axis range was updated with grow ranging enabled. This commit changes Abstract axis to directly use the result of `autoRange()` instead of overwriting the autoRange property with it. In XYChart the autoGrow code had to be changed to use the previous computed range instead of the displayed range (which would include the padding, leading to pileup). fixes #465
- Loading branch information
1 parent
ee382ff
commit ac46a36
Showing
2 changed files
with
8 additions
and
7 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