forked from omnetpp/omnetpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ide/scave: Change automatic line chart area computation logic
The main motivation was to make sure that data which is far from the origin, but spans a relatively small range (say, 10000..10005), is still plotted so that the points are not too close to the edge of the axes area, making them hard to find/see. This is done by calculating the padding after including the origin in the bounds rectangle, so it will be sized relative to the "10005", and not to the "5" in the example above. This should be more intuitive.
- Loading branch information
1 parent
efad726
commit 8e7a641
Showing
2 changed files
with
115 additions
and
61 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