-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(heatmap): small multiples (#1933)
adds support for small multiples on `heatmap` chart type. BREAKING CHANGES: Removed unused properties `maxColumnWidth` and `maxRowHeight` under `HeatmapStyle`. Also removed grid height and width constraints (i.e. `cellWidth` and `cellHeight`) in favor of filled rendering and pagination driven by data from the consumer side. ```diff @@ -1424,25 +1424,13 @@ export interface HeatmapStyle { grid: { - cellWidth: { - min: Pixels; - max: Pixels | 'fill'; - }; - cellHeight: { - min: Pixels; - max: Pixels | 'fill'; - }; stroke: { color: string; width: number; }; }; - maxColumnWidth: Pixels; maxLegendHeight?: number; - maxRowHeight: Pixels; ```
- Loading branch information
1 parent
4d85588
commit 690f568
Showing
149 changed files
with
2,025 additions
and
1,177 deletions.
There are no files selected for viewing
Binary file modified
BIN
+8.42 KB
(120%)
...creenshots/all.test.ts-snapshots/baselines/heatmap-alpha/basic-chrome-linux.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.08 KB
(100%)
...hots/all.test.ts-snapshots/baselines/heatmap-alpha/categorical-chrome-linux.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
+92 Bytes
(100%)
...s/all.test.ts-snapshots/baselines/heatmap-alpha/label-rotation-chrome-linux.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
+278 Bytes
(110%)
...eenshots/all.test.ts-snapshots/baselines/heatmap-alpha/sorting-chrome-linux.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
+76 Bytes
(100%)
...eenshots/all.test.ts-snapshots/baselines/heatmap-alpha/theming-chrome-linux.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.11 KB
(91%)
...screenshots/all.test.ts-snapshots/baselines/heatmap-alpha/time-chrome-linux.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
+7.88 KB
(150%)
...nshots/all.test.ts-snapshots/baselines/heatmap-alpha/time-snap-chrome-linux.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
+71.1 KB
.../all.test.ts-snapshots/baselines/small-multiples-alpha/heatmap-chrome-linux.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
+243 Bytes
(110%)
....test.ts-snapshots/heatmap-stories/render-table-with-all-nulls-chrome-linux.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
-68 Bytes
(100%)
...st.ts-snapshots/heatmap-stories/rotate-categorical-axis-labels-chrome-linux.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
-25 Bytes
(100%)
...ries.test.ts-snapshots/heatmap-stories/rotate-time-axis-labels-chrome-linux.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.97 KB
(100%)
...-snapshots/heatmap-stories/should-maximize-the-label-font-size-chrome-linux.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.79 KB
(110%)
...map-stories/should-maximize-the-label-with-an-unique-font-size-chrome-linux.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
+8.34 KB
(120%)
...ts/heatmap-stories/should-not-have-brush-tool-extend-into-axes-chrome-linux.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
+10.3 KB
(120%)
...t.ts-snapshots/heatmap-stories/should-show-x-and-y-axis-titles-chrome-linux.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
+53.9 KB
...tmap-stories/small-multiples/should-brush-panel-with-time-data-chrome-linux.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
+70.3 KB
...stories/small-multiples/should-constrain-brush-to-active-panel-chrome-linux.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
+3.49 KB
...ts/heatmap-stories/small-multiples/should-render-0-x-3-trellis-chrome-linux.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
+30.3 KB
...ts/heatmap-stories/small-multiples/should-render-1-x-3-trellis-chrome-linux.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
+46.7 KB
...ts/heatmap-stories/small-multiples/should-render-2-x-2-trellis-chrome-linux.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
+39 KB
...-stories/small-multiples/should-render-2-x-2-trellis-time-data-chrome-linux.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
+43.4 KB
...small-multiples/should-render-2-x-2-trellis-without-any-titles-chrome-linux.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
+36 KB
...iples/should-render-2-x-2-trellis-without-any-titles-time-data-chrome-linux.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
+46.1 KB
...mall-multiples/should-render-2-x-2-trellis-without-axes-titles-chrome-linux.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
+43.9 KB
...all-multiples/should-render-2-x-2-trellis-without-panel-titles-chrome-linux.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
+3.49 KB
...ts/heatmap-stories/small-multiples/should-render-3-x-0-trellis-chrome-linux.png
Oops, something went wrong.
Binary file added
BIN
+40.8 KB
...ts/heatmap-stories/small-multiples/should-render-3-x-1-trellis-chrome-linux.png
Oops, something went wrong.
Binary file added
BIN
+36.4 KB
...ts/heatmap-stories/small-multiples/should-render-3-x-3-trellis-chrome-linux.png
Oops, something went wrong.
Binary file added
BIN
+40.5 KB
...heatmap-stories/small-multiples/should-render-3-x-null-trellis-chrome-linux.png
Oops, something went wrong.
Binary file added
BIN
+30.1 KB
...heatmap-stories/small-multiples/should-render-null-x-3-trellis-chrome-linux.png
Oops, something went wrong.
Binary file added
BIN
+73.6 KB
...ories/small-multiples/should-render-tooltip-over-correct-panel-chrome-linux.png
Oops, something went wrong.
Binary file added
BIN
+88.8 KB
...iples/should-select-single-cell-on-click-with-categorical-data-chrome-linux.png
Oops, something went wrong.
Binary file added
BIN
+88.6 KB
...ll-multiples/should-select-single-cell-on-click-with-time-data-chrome-linux.png
Oops, something went wrong.
Binary file modified
BIN
-1.1 KB
(92%)
...-stories/theme-dark/should-highlight-band-on-legend-hover-dark-chrome-linux.png
Oops, something went wrong.
Binary file modified
BIN
+8.75 KB
(120%)
...apshots/heatmap-stories/theme-dark/should-render-basic-heatmap-chrome-linux.png
Oops, something went wrong.
Binary file modified
BIN
+8.53 KB
(120%)
...ts/heatmap-stories/theme-dark/should-render-correct-brush-area-chrome-linux.png
Oops, something went wrong.
Binary file modified
BIN
-1.07 KB
(92%)
.../theme-eui-dark/should-highlight-band-on-legend-hover-eui-dark-chrome-linux.png
Oops, something went wrong.
Binary file modified
BIN
+9.07 KB
(120%)
...ots/heatmap-stories/theme-eui-dark/should-render-basic-heatmap-chrome-linux.png
Oops, something went wrong.
Binary file modified
BIN
+9.55 KB
(120%)
...eatmap-stories/theme-eui-dark/should-render-correct-brush-area-chrome-linux.png
Oops, something went wrong.
Binary file modified
BIN
-1.15 KB
(91%)
...heme-eui-light/should-highlight-band-on-legend-hover-eui-light-chrome-linux.png
Oops, something went wrong.
Binary file modified
BIN
+8.37 KB
(120%)
...ts/heatmap-stories/theme-eui-light/should-render-basic-heatmap-chrome-linux.png
Oops, something went wrong.
Binary file modified
BIN
+7.68 KB
(120%)
...atmap-stories/theme-eui-light/should-render-correct-brush-area-chrome-linux.png
Oops, something went wrong.
Binary file modified
BIN
-1.14 KB
(91%)
...tories/theme-light/should-highlight-band-on-legend-hover-light-chrome-linux.png
Oops, something went wrong.
Binary file modified
BIN
+8.42 KB
(120%)
...pshots/heatmap-stories/theme-light/should-render-basic-heatmap-chrome-linux.png
Oops, something went wrong.
Binary file modified
BIN
+7.81 KB
(120%)
...s/heatmap-stories/theme-light/should-render-correct-brush-area-chrome-linux.png
Oops, something went wrong.
Binary file modified
BIN
+4.25 KB
(130%)
...ies.test.ts-snapshots/heatmap-stories/time-snap-with-dataset-2-chrome-linux.png
Oops, something went wrong.
Binary file modified
BIN
+203 Bytes
(100%)
...ies.test.ts-snapshots/heatmap-stories/time-snap-with-dataset-3-chrome-linux.png
Oops, something went wrong.
Binary file modified
BIN
+307 Bytes
(100%)
...ies.test.ts-snapshots/heatmap-stories/time-snap-with-dataset-4-chrome-linux.png
Oops, something went wrong.
Binary file modified
BIN
+187 Bytes
(100%)
...ies.test.ts-snapshots/heatmap-stories/time-snap-with-dataset-5-chrome-linux.png
Oops, something went wrong.
Binary file modified
BIN
+18.9 KB
(150%)
...ies.test.ts-snapshots/heatmap-stories/time-snap-with-dataset-6-chrome-linux.png
Oops, something went wrong.
Binary file modified
BIN
+2.16 KB
(110%)
...ies.test.ts-snapshots/heatmap-stories/time-snap-with-dataset-7-chrome-linux.png
Oops, something went wrong.
Binary file modified
BIN
+4.95 KB
(140%)
...ies.test.ts-snapshots/heatmap-stories/time-snap-with-dataset-8-chrome-linux.png
Oops, something went wrong.
Binary file modified
BIN
+4.74 KB
(140%)
...ies.test.ts-snapshots/heatmap-stories/time-snap-with-dataset-9-chrome-linux.png
Oops, something went wrong.
Binary file removed
BIN
-22.3 KB
...creenshots/nick.test.ts-snapshots/nick/testing-hover-with-body-chrome-linux.png
Diff not rendered.
Binary file removed
BIN
-20.4 KB
...reenshots/nick.test.ts-snapshots/nick/testing-hover-with-chart-chrome-linux.png
Diff not rendered.
Binary file removed
BIN
-22.3 KB
...creenshots/nick.test.ts-snapshots/nick/testing-hover-with-root-chrome-linux.png
Diff not rendered.
Binary file modified
BIN
+2.55 KB
(100%)
...s-snapshots/tooltip/chart-types/heatmap/pinning-with-selection-chrome-linux.png
Oops, something went wrong.
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.