-
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.
fix(domain): custom domain should not filter data (#1181)
Domain bounds should be used in the sense of zooming in/out with a viewport on the chart. A regression of this behavior slipped through due to a [PR](#896) causing data to be filtered out when applying a custom domain, removing data points from areas and lines. The right behavior is now restored. fix #1129
- Loading branch information
Showing
106 changed files
with
21 additions
and
15 deletions.
There are no files selected for viewing
Binary file modified
BIN
+230 Bytes
(100%)
...l-stories-annotations-rects-linear-line-chart-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
+153 Bytes
(100%)
...sts-for-all-stories-annotations-rects-styling-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
+374 Bytes
(100%)
...al-tests-for-all-stories-area-chart-band-area-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
+7.07 KB
(120%)
...ts-for-all-stories-area-chart-with-log-y-axis-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
+162 Bytes
(100%)
...for-all-stories-area-chart-with-negative-band-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
+166 Bytes
(100%)
...ual-tests-for-all-stories-axes-bars-and-lines-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
-2.35 KB
(87%)
...sual-tests-for-all-stories-axes-custom-domain-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
-70 Bytes
(100%)
...-tests-for-all-stories-axes-different-tooltip-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
-51 Bytes
(100%)
...al-tests-for-all-stories-axes-duplicate-ticks-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.46 KB
(110%)
...-visual-tests-for-all-stories-axes-fit-domain-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
+139 Bytes
(100%)
...-stories-bar-chart-test-histogram-mode-linear-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
+288 Bytes
(100%)
...ests-for-all-stories-bubble-chart-alpha-mixed-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
+576 Bytes
(100%)
...sts-for-all-stories-debug-options-debug-state-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
+465 Bytes
(100%)
...line-visual-tests-for-all-stories-grids-lines-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
+40 Bytes
(100%)
...es-grids-multiple-axes-with-the-same-position-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
-13 Bytes
(100%)
...interactions-brush-disabled-on-ordinal-x-axis-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
+50 Bytes
(100%)
...eractions-brush-selection-tool-on-time-charts-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
+16 Bytes
(100%)
...tions-click-hovers-on-legend-items-line-chart-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
+22 Bytes
(100%)
...ions-click-hovers-on-legend-items-mixed-chart-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
+21 Bytes
(100%)
...ies-interactions-line-point-clicks-and-hovers-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
+22 Bytes
(100%)
...ll-stories-legend-hide-legend-items-by-series-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
+994 Bytes
(100%)
...visual-tests-for-all-stories-line-chart-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
+22 Bytes
(100%)
...tories-line-chart-curved-with-axis-and-legend-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
-17 Bytes
(100%)
...-stories-line-chart-discontinuous-data-points-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
+11 Bytes
(100%)
...ll-stories-line-chart-line-with-mark-accessor-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
-73 Bytes
(100%)
...s-for-all-stories-line-chart-linear-with-axis-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+695 Bytes
(100%)
...ories-line-chart-multi-series-with-log-values-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+876 Bytes
(100%)
...ries-line-chart-multiple-with-axis-and-legend-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-57 Bytes
(100%)
...-for-all-stories-line-chart-ordinal-with-axis-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-130 Bytes
(100%)
...tests-for-all-stories-line-chart-point-shapes-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-5 Bytes
(100%)
...ories-line-chart-stacked-with-axis-and-legend-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-244 Bytes
(99%)
...for-all-stories-line-chart-test-path-ordering-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+938 Bytes
(100%)
...r-all-stories-line-chart-with-axis-and-legend-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-74 Bytes
(100%)
...al-tests-for-all-stories-line-chart-with-axis-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+58 Bytes
(100%)
...s-for-all-stories-mixed-charts-bars-and-lines-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+73 Bytes
(100%)
...-for-all-stories-mixed-charts-lines-and-areas-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+1.11 KB
(100%)
...r-all-stories-mixed-charts-mark-size-accessor-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+20 Bytes
(100%)
...ll-stories-mixed-charts-test-bar-lines-linear-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+26 Bytes
(100%)
...ests-for-all-stories-scales-log-scale-options-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+212 Bytes
(100%)
...for-all-stories-scales-timezone-configuration-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+212 Bytes
(100%)
...-all-stories-scales-tooltip-in-local-timezone-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+212 Bytes
(100%)
...l-tests-for-all-stories-scales-tooltip-in-utc-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+549 Bytes
(100%)
...-all-stories-small-multiples-alpha-grid-lines-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-13 Bytes
(100%)
...gs-custom-series-colors-via-accessor-function-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-710 Bytes
(98%)
...l-stories-stylings-custom-series-styles-lines-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+29 Bytes
(100%)
...ll-stories-stylings-line-series-color-variant-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+448 Bytes
(100%)
...st-ts-area-series-stories-accessor-formats-should-show-custom-format-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+598 Bytes
(100%)
...stories-small-multiples-axis-position-bottom-should-hide-empty-title-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+540 Bytes
(100%)
...tories-small-multiples-axis-position-bottom-should-hide-panel-titles-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+598 Bytes
(100%)
...-axis-stories-small-multiples-axis-position-bottom-should-hide-title-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+531 Bytes
(100%)
...s-stories-small-multiples-axis-position-left-should-hide-empty-title-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+433 Bytes
(100%)
...-stories-small-multiples-axis-position-left-should-hide-panel-titles-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+531 Bytes
(100%)
...ts-axis-stories-small-multiples-axis-position-left-should-hide-title-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+561 Bytes
(100%)
...-stories-small-multiples-axis-position-right-should-hide-empty-title-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+424 Bytes
(100%)
...stories-small-multiples-axis-position-right-should-hide-panel-titles-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+561 Bytes
(100%)
...s-axis-stories-small-multiples-axis-position-right-should-hide-title-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+599 Bytes
(100%)
...is-stories-small-multiples-axis-position-top-should-hide-empty-title-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+534 Bytes
(100%)
...s-stories-small-multiples-axis-position-top-should-hide-panel-titles-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+599 Bytes
(100%)
...-ts-axis-stories-small-multiples-axis-position-top-should-hide-title-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+661 Bytes
(100%)
...is-stories-small-multiples-should-render-four-axes-with-no-gridlines-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+393 Bytes
(100%)
...small-multiples-should-render-four-axes-with-titles-and-panel-titles-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+139 Bytes
(100%)
...test-histogram-mode-linear-enable-histogram-mode-is-false-rotation-0-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+159 Bytes
(100%)
...st-histogram-mode-linear-enable-histogram-mode-is-false-rotation-180-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+362 Bytes
(100%)
...est-histogram-mode-linear-enable-histogram-mode-is-false-rotation-90-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+376 Bytes
(100%)
...gram-mode-linear-enable-histogram-mode-is-false-rotation-negative-90-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+446 Bytes
(100%)
...-test-ts-grid-stories-should-render-crosshair-lines-above-grid-lines-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+3 Bytes
(100%)
...actions-test-ts-interactions-should-size-legends-with-ordinal-x-axis-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
...nteractions-tooltip-formatting-should-use-all-custom-tick-formatters-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
...p-formatting-should-use-axis-tick-formatter-with-no-header-formatter-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+948 Bytes
(100%)
...ts-interactions-tooltip-formatting-should-use-custom-mark-formatters-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-34 Bytes
(100%)
...ault-tick-formatter-with-no-axis-tick-formatter-nor-header-formatter-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-76 Bytes
(100%)
...tick-formatter-with-no-axis-tick-formatter-nor-series-tick-formatter-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
...teractions-tooltip-formatting-should-use-header-formatter-for-x-axis-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+19 Bytes
(100%)
...matting-should-use-series-tick-formatter-with-no-axis-tick-formatter-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+16 Bytes
(100%)
...-formatter-with-no-axis-tick-formatter-missing-series-tick-formatter-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+110 Bytes
(100%)
...test-ts-interactions-tooltip-sync-show-synced-extra-values-in-legend-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+598 Bytes
(100%)
...ries-test-ts-legend-stories-should-adjust-legend-width-for-scrollbar-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+34 Bytes
(100%)
...nd-stories-test-ts-legend-stories-should-hide-bar-series-legend-item-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+40 Bytes
(100%)
...d-stories-test-ts-legend-stories-should-hide-line-series-legend-item-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-27 Bytes
(100%)
...paths-for-ordered-values-should-render-correct-line-path-non-stacked-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-244 Bytes
(99%)
...ine-paths-for-ordered-values-should-render-correct-line-path-stacked-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+5 Bytes
(100%)
...with-mark-accessor-with-hidden-points-default-point-highlighter-size-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-17 Bytes
(100%)
...ries-non-stacked-linear-line-with-discontinuous-data-points-with-fit-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-57 Bytes
(100%)
...shots__/line-stories-test-ts-line-series-stories-rotation-rotation-0-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-53 Bytes
(100%)
...ots__/line-stories-test-ts-line-series-stories-rotation-rotation-180-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
...harts-end-value-set-to-2-should-display-correct-fit-for-type-average-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+0 Bytes
(100%)
...charts-end-value-set-to-2-should-display-correct-fit-for-type-linear-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
...curve-end-value-set-to-2-should-display-correct-fit-for-type-average-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+0 Bytes
(100%)
...-curve-end-value-set-to-2-should-display-correct-fit-for-type-linear-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-6 Bytes
(100%)
...-stories-negative-values-should-render-proper-ticks-with-binary-base-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-13 Bytes
(100%)
...-stories-negative-values-should-render-proper-ticks-with-common-base-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...stories-negative-values-should-render-proper-ticks-with-natural-base-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+35 Bytes
(100%)
...s-scales-stories-negative-values-should-render-values-with-log-limit-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-17 Bytes
(100%)
...negative-values-should-render-with-baseline-set-to-1-if-fit-is-false-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-17 Bytes
(100%)
...hould-render-with-baseline-set-to-1-if-fit-is-false-and-limit-is-set-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+55 Bytes
(100%)
...-stories-positive-values-should-render-proper-ticks-with-binary-base-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+31 Bytes
(100%)
...-stories-positive-values-should-render-proper-ticks-with-common-base-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+55 Bytes
(100%)
...stories-positive-values-should-render-proper-ticks-with-natural-base-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+187 Bytes
(100%)
...s-scales-stories-positive-values-should-render-values-with-log-limit-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+26 Bytes
(100%)
...positive-values-should-render-with-baseline-set-to-1-if-fit-is-false-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+26 Bytes
(100%)
...hould-render-with-baseline-set-to-1-if-fit-is-false-and-limit-is-set-1-snap.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
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