-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(heatmap): add axis titles (#1503)
`xAxisTitle` and `yAxisTitle` props are available and rendered in the Heatmap chart. The title style reuse the one provided by the `Theme.axes.axisTitle` theme configuration. BREAKING CHANGE: The heatmap yAxisLabel.padding style type is changed from Pixel | Partial<Padding> to Pixels | Padding. The heatmap axis labels are now correctly subjected to padding calculations and it will result in a slightly different position of labels. Co-authored-by: Marco Vettorello <[email protected]>
- Loading branch information
Showing
52 changed files
with
432 additions
and
286 deletions.
There are no files selected for viewing
Binary file modified
BIN
+2.03 KB
(110%)
...ual-tests-for-all-stories-heatmap-alpha-basic-visually-looks-correct-1-snap.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 modified
BIN
+0 Bytes
(100%)
...sts-for-all-stories-heatmap-alpha-categorical-visually-looks-correct-1-snap.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 modified
BIN
-1.2 KB
(98%)
...l-tests-for-all-stories-heatmap-alpha-theming-visually-looks-correct-1-snap.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 modified
BIN
+398 Bytes
(100%)
...tests-for-all-stories-heatmap-alpha-time-snap-visually-looks-correct-1-snap.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 modified
BIN
-1.23 KB
(97%)
...sual-tests-for-all-stories-heatmap-alpha-time-visually-looks-correct-1-snap.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 modified
BIN
-3 Bytes
(100%)
...-stories-test-ts-heatmap-stories-should-maximize-the-label-font-size-1-snap.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 modified
BIN
+1 Byte
(100%)
...s-heatmap-stories-should-maximize-the-label-with-an-unique-font-size-1-snap.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 modified
BIN
+380 Bytes
(100%)
...-test-ts-heatmap-stories-should-not-have-brush-tool-extend-into-axes-1-snap.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
+44 KB
...tmap-stories-test-ts-heatmap-stories-should-show-x-and-y-axis-titles-1-snap.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 modified
BIN
+3 KB
(110%)
...ories-test-ts-heatmap-stories-theme-dark-should-render-basic-heatmap-1-snap.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 modified
BIN
+1.02 KB
(100%)
...-test-ts-heatmap-stories-theme-dark-should-render-correct-brush-area-1-snap.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 modified
BIN
+2.67 KB
(110%)
...s-test-ts-heatmap-stories-theme-eui-dark-should-render-basic-heatmap-1-snap.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 modified
BIN
+1.13 KB
(100%)
...t-ts-heatmap-stories-theme-eui-dark-should-render-correct-brush-area-1-snap.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 modified
BIN
+2.18 KB
(110%)
...-test-ts-heatmap-stories-theme-eui-light-should-render-basic-heatmap-1-snap.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 modified
BIN
+461 Bytes
(100%)
...-ts-heatmap-stories-theme-eui-light-should-render-correct-brush-area-1-snap.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 modified
BIN
+2.03 KB
(110%)
...ries-test-ts-heatmap-stories-theme-light-should-render-basic-heatmap-1-snap.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 modified
BIN
+325 Bytes
(100%)
...test-ts-heatmap-stories-theme-light-should-render-correct-brush-area-1-snap.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 modified
BIN
+706 Bytes
(100%)
...s__/heatmap-stories-test-ts-heatmap-stories-time-snap-with-dataset-2-1-snap.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 modified
BIN
-1.28 KB
(82%)
...s__/heatmap-stories-test-ts-heatmap-stories-time-snap-with-dataset-3-1-snap.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 modified
BIN
-288 Bytes
(98%)
...s__/heatmap-stories-test-ts-heatmap-stories-time-snap-with-dataset-4-1-snap.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 modified
BIN
-120 Bytes
(99%)
...s__/heatmap-stories-test-ts-heatmap-stories-time-snap-with-dataset-5-1-snap.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 modified
BIN
-2.07 KB
(95%)
...s__/heatmap-stories-test-ts-heatmap-stories-time-snap-with-dataset-6-1-snap.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 modified
BIN
+0 Bytes
(100%)
...s__/heatmap-stories-test-ts-heatmap-stories-time-snap-with-dataset-7-1-snap.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 modified
BIN
+1.63 KB
(110%)
...s__/heatmap-stories-test-ts-heatmap-stories-time-snap-with-dataset-8-1-snap.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 modified
BIN
-554 Bytes
(97%)
...s__/heatmap-stories-test-ts-heatmap-stories-time-snap-with-dataset-9-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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.