-
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.
Fix rendering of negative values in stacked bar diagram
Currently, negative values are treated the same way as positive values when rendering stacked bar diagrams, which can lead to rendering issues, because we can end up with negative lengths and incorrect scaling. This changes the rendering to track the negative values separately and render them in a group below the x axis. The rendering for positive values is unchanged, above the x axis.
- Loading branch information
1 parent
6f0b7b0
commit 8a76045
Showing
6 changed files
with
87 additions
and
16 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
Binary file added
BIN
+998 KB
...ages/diagrams/expected_stacked_negative_down/expected_stacked_negative_down.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+998 KB
...ages/diagrams/expected_stacked_negative_left/expected_stacked_negative_left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+998 KB
...es/diagrams/expected_stacked_negative_right/expected_stacked_negative_right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+998 KB
...l_images/diagrams/expected_stacked_negative_up/expected_stacked_negative_up.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.