-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(xy): support multiple point shapes on line, area and bubble char…
…ts (#988) This commit adds the support for rendering different shapes on line, area and bubble charts points
- Loading branch information
Showing
285 changed files
with
666 additions
and
806 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
Binary file modified
BIN
-4 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
+1 Byte
(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
+12 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
-3 Bytes
(100%)
...s-area-chart-test-stacked-with-missing-values-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 Byte
(100%)
...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
-10 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
+0 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
-1 Byte
(100%)
...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
+0 Bytes
(100%)
...isual-tests-for-all-stories-axes-custom-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
+0 Bytes
(100%)
...-all-stories-axes-different-tooltip-formatter-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
-4 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
+0 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
+35 Bytes
(100%)
...-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
+7 Bytes
(100%)
...ests-for-all-stories-bar-chart-band-bar-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
+1 Byte
(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
+177 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
-293 Bytes
(100%)
...s-for-all-stories-bubble-chart-alpha-multiple-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
-46 Bytes
(100%)
...ts-for-all-stories-bubble-chart-alpha-ordinal-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
+14 Bytes
(100%)
...sts-for-all-stories-bubble-chart-alpha-simple-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%)
...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
+2 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
+1 Byte
(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
-3 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
+1 Byte
(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
+1 Byte
(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
+5 Bytes
(100%)
...stories-interactions-crosshair-with-time-axis-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+10 Bytes
(100%)
...actions-line-area-bar-point-clicks-and-hovers-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
...ies-interactions-line-point-clicks-and-hovers-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+1 Byte
(100%)
...ll-stories-legend-hide-legend-items-by-series-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-10 Bytes
(100%)
...visual-tests-for-all-stories-line-chart-basic-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...tories-line-chart-curved-with-axis-and-legend-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+1 Byte
(100%)
...-stories-line-chart-discontinuous-data-points-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+43 Bytes
(100%)
...ll-stories-line-chart-line-with-mark-accessor-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+2 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
-6 Bytes
(100%)
...ories-line-chart-multi-series-with-log-values-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-63 Bytes
(100%)
...ries-line-chart-multiple-with-axis-and-legend-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-2 Bytes
(100%)
...-for-all-stories-line-chart-ordinal-with-axis-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file added
BIN
+65.8 KB
...tests-for-all-stories-line-chart-point-shapes-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-65 Bytes
(100%)
...ories-line-chart-stacked-with-axis-and-legend-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-5 Bytes
(100%)
...ll-stories-line-chart-test-orphan-data-points-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-9 Bytes
(100%)
...for-all-stories-line-chart-test-path-ordering-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+27 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
+2 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
-8 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
-2 Bytes
(100%)
...d-charts-fitting-functions-non-stacked-series-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...mixed-charts-fitting-functions-stacked-series-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...-for-all-stories-mixed-charts-lines-and-areas-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+28 Bytes
(100%)
...r-all-stories-mixed-charts-mark-size-accessor-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+0 Bytes
(100%)
...ll-stories-mixed-charts-test-bar-lines-linear-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-4 Bytes
(100%)
...-all-stories-mixed-charts-test-bar-lines-time-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
...-for-all-stories-scales-remove-duplicate-axis-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+0 Bytes
(100%)
...sts-for-all-stories-scales-specified-timezone-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...for-all-stories-scales-timezone-configuration-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...-all-stories-scales-tooltip-in-local-timezone-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...l-tests-for-all-stories-scales-tooltip-in-utc-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+5 Bytes
(100%)
...l-stories-small-multiples-alpha-heterogeneous-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+4 Bytes
(100%)
...gs-custom-series-colors-via-accessor-function-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+6 Bytes
(100%)
...ual-tests-for-all-stories-stylings-dark-theme-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+1 Byte
(100%)
...all-stories-stylings-style-accessor-overrides-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+9 Bytes
(100%)
...-tests-for-all-stories-stylings-theme-styling-visually-looks-correct-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+19 Bytes
(100%)
...st-ts-area-series-stories-accessor-formats-should-show-custom-format-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+0 Bytes
(100%)
...s-stories-area-with-orphan-data-points-render-correctly-fit-function-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+0 Bytes
(100%)
...n-stacked-linear-area-with-discontinuous-data-points-no-fit-function-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+4 Bytes
(100%)
...stories-test-ts-axis-stories-should-hide-consecutive-duplicate-ticks-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+0 Bytes
(100%)
...s-stories-test-ts-axis-stories-should-render-with-domain-constraints-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+7 Bytes
(100%)
...-series-stories-functional-accessors-y-1-accessors-and-y-0-accessors-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+1 Byte
(100%)
...test-histogram-mode-linear-enable-histogram-mode-is-false-rotation-0-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
...st-histogram-mode-linear-enable-histogram-mode-is-false-rotation-180-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+1 Byte
(100%)
...est-histogram-mode-linear-enable-histogram-mode-is-false-rotation-90-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...gram-mode-linear-enable-histogram-mode-is-false-rotation-negative-90-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+0 Bytes
(100%)
...-test-histogram-mode-linear-enable-histogram-mode-is-true-rotation-0-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...est-histogram-mode-linear-enable-histogram-mode-is-true-rotation-180-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+1 Byte
(100%)
...test-histogram-mode-linear-enable-histogram-mode-is-true-rotation-90-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+1 Byte
(100%)
...ogram-mode-linear-enable-histogram-mode-is-true-rotation-negative-90-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...actions-test-ts-interactions-should-size-legends-with-ordinal-x-axis-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+0 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
+14 Bytes
(100%)
...ts-interactions-tooltip-formatting-should-use-custom-mark-formatters-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+44 Bytes
(100%)
...ault-tick-formatter-with-no-axis-tick-formatter-nor-header-formatter-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...tick-formatter-with-no-axis-tick-formatter-nor-series-tick-formatter-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+0 Bytes
(100%)
...teractions-tooltip-formatting-should-use-header-formatter-for-x-axis-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-3 Bytes
(100%)
...matting-should-use-series-tick-formatter-with-no-axis-tick-formatter-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+0 Bytes
(100%)
...-formatter-with-no-axis-tick-formatter-missing-series-tick-formatter-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+16 Bytes
(100%)
...test-ts-interactions-tooltip-sync-show-synced-extra-values-in-legend-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+4 Bytes
(100%)
...ts-interactions-tooltips-should-render-corrent-tooltip-in-dark-theme-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+0 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
+2 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
+1 Byte
(100%)
...paths-for-ordered-values-should-render-correct-line-path-non-stacked-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-9 Bytes
(100%)
...ine-paths-for-ordered-values-should-render-correct-line-path-stacked-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+25 Bytes
(100%)
...n-stacked-linear-line-with-discontinuous-data-points-no-fit-function-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+1 Byte
(100%)
...ries-non-stacked-linear-line-with-discontinuous-data-points-with-fit-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-2 Bytes
(100%)
...shots__/line-stories-test-ts-line-series-stories-rotation-rotation-0-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-9 Bytes
(100%)
...ots__/line-stories-test-ts-line-series-stories-rotation-rotation-180-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...hots__/line-stories-test-ts-line-series-stories-rotation-rotation-90-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+1 Byte
(100%)
...ne-stories-test-ts-line-series-stories-rotation-rotation-negative-90-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+1 Byte
(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
-3 Bytes
(100%)
...-charts-end-value-set-to-2-should-display-correct-fit-for-type-carry-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...arts-end-value-set-to-2-should-display-correct-fit-for-type-explicit-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+2 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%)
...rts-end-value-set-to-2-should-display-correct-fit-for-type-lookahead-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+1 Byte
(100%)
...harts-end-value-set-to-2-should-display-correct-fit-for-type-nearest-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
...a-charts-end-value-set-to-2-should-display-correct-fit-for-type-none-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
...a-charts-end-value-set-to-2-should-display-correct-fit-for-type-zero-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+0 Bytes
(100%)
...end-value-set-to-nearest-should-display-correct-fit-for-type-average-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+0 Bytes
(100%)
...s-end-value-set-to-nearest-should-display-correct-fit-for-type-carry-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...nd-value-set-to-nearest-should-display-correct-fit-for-type-explicit-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+1 Byte
(100%)
...-end-value-set-to-nearest-should-display-correct-fit-for-type-linear-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+1 Byte
(100%)
...d-value-set-to-nearest-should-display-correct-fit-for-type-lookahead-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+1 Byte
(100%)
...end-value-set-to-nearest-should-display-correct-fit-for-type-nearest-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
...ts-end-value-set-to-nearest-should-display-correct-fit-for-type-none-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
...ts-end-value-set-to-nearest-should-display-correct-fit-for-type-zero-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-2 Bytes
(100%)
...area-charts-no-end-value-should-display-correct-fit-for-type-average-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-3 Bytes
(100%)
...s-area-charts-no-end-value-should-display-correct-fit-for-type-carry-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...rea-charts-no-end-value-should-display-correct-fit-for-type-explicit-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-3 Bytes
(100%)
...-area-charts-no-end-value-should-display-correct-fit-for-type-linear-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-3 Bytes
(100%)
...ea-charts-no-end-value-should-display-correct-fit-for-type-lookahead-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+1 Byte
(100%)
...area-charts-no-end-value-should-display-correct-fit-for-type-nearest-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
...ns-area-charts-no-end-value-should-display-correct-fit-for-type-none-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
...ns-area-charts-no-end-value-should-display-correct-fit-for-type-zero-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+1 Byte
(100%)
...nal-dataset-no-end-value-should-display-correct-fit-for-type-average-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-6 Bytes
(100%)
...dinal-dataset-no-end-value-should-display-correct-fit-for-type-carry-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-3 Bytes
(100%)
...al-dataset-no-end-value-should-display-correct-fit-for-type-explicit-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+4 Bytes
(100%)
...inal-dataset-no-end-value-should-display-correct-fit-for-type-linear-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-2 Bytes
(100%)
...l-dataset-no-end-value-should-display-correct-fit-for-type-lookahead-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-4 Bytes
(100%)
...nal-dataset-no-end-value-should-display-correct-fit-for-type-nearest-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+1 Byte
(100%)
...rdinal-dataset-no-end-value-should-display-correct-fit-for-type-none-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
...rdinal-dataset-no-end-value-should-display-correct-fit-for-type-zero-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+1 Byte
(100%)
...urved-end-value-set-to-2-should-display-correct-fit-for-type-average-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-3 Bytes
(100%)
...-curved-end-value-set-to-2-should-display-correct-fit-for-type-carry-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...rved-end-value-set-to-2-should-display-correct-fit-for-type-explicit-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
...curved-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%)
...ved-end-value-set-to-2-should-display-correct-fit-for-type-lookahead-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+1 Byte
(100%)
...urved-end-value-set-to-2-should-display-correct-fit-for-type-nearest-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
...h-curved-end-value-set-to-2-should-display-correct-fit-for-type-none-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
...h-curved-end-value-set-to-2-should-display-correct-fit-for-type-zero-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-11 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
-5 Bytes
(100%)
...-charts-end-value-set-to-2-should-display-correct-fit-for-type-carry-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-8 Bytes
(100%)
...arts-end-value-set-to-2-should-display-correct-fit-for-type-explicit-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-5 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
-7 Bytes
(100%)
...rts-end-value-set-to-2-should-display-correct-fit-for-type-lookahead-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-5 Bytes
(100%)
...harts-end-value-set-to-2-should-display-correct-fit-for-type-nearest-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-9 Bytes
(100%)
...e-charts-end-value-set-to-2-should-display-correct-fit-for-type-none-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-4 Bytes
(100%)
...e-charts-end-value-set-to-2-should-display-correct-fit-for-type-zero-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+8 Bytes
(100%)
...line-charts-no-end-value-should-display-correct-fit-for-type-average-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-9 Bytes
(100%)
...s-line-charts-no-end-value-should-display-correct-fit-for-type-carry-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-8 Bytes
(100%)
...ine-charts-no-end-value-should-display-correct-fit-for-type-explicit-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+6 Bytes
(100%)
...-line-charts-no-end-value-should-display-correct-fit-for-type-linear-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-11 Bytes
(100%)
...ne-charts-no-end-value-should-display-correct-fit-for-type-lookahead-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-5 Bytes
(100%)
...line-charts-no-end-value-should-display-correct-fit-for-type-nearest-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-9 Bytes
(100%)
...ns-line-charts-no-end-value-should-display-correct-fit-for-type-none-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-4 Bytes
(100%)
...ns-line-charts-no-end-value-should-display-correct-fit-for-type-zero-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-11 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
-5 Bytes
(100%)
...h-curve-end-value-set-to-2-should-display-correct-fit-for-type-carry-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-8 Bytes
(100%)
...urve-end-value-set-to-2-should-display-correct-fit-for-type-explicit-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-5 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
-7 Bytes
(100%)
...rve-end-value-set-to-2-should-display-correct-fit-for-type-lookahead-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-5 Bytes
(100%)
...curve-end-value-set-to-2-should-display-correct-fit-for-type-nearest-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-9 Bytes
(100%)
...th-curve-end-value-set-to-2-should-display-correct-fit-for-type-none-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-4 Bytes
(100%)
...th-curve-end-value-set-to-2-should-display-correct-fit-for-type-zero-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+4 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
+6 Bytes
(100%)
...-charts-end-value-set-to-2-should-display-correct-fit-for-type-carry-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-8 Bytes
(100%)
...arts-end-value-set-to-2-should-display-correct-fit-for-type-explicit-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+3 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%)
...rts-end-value-set-to-2-should-display-correct-fit-for-type-lookahead-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+3 Bytes
(100%)
...harts-end-value-set-to-2-should-display-correct-fit-for-type-nearest-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
...a-charts-end-value-set-to-2-should-display-correct-fit-for-type-none-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+0 Bytes
(100%)
...a-charts-end-value-set-to-2-should-display-correct-fit-for-type-zero-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-8 Bytes
(100%)
...end-value-set-to-nearest-should-display-correct-fit-for-type-average-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+5 Bytes
(100%)
...s-end-value-set-to-nearest-should-display-correct-fit-for-type-carry-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-8 Bytes
(100%)
...nd-value-set-to-nearest-should-display-correct-fit-for-type-explicit-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+1 Byte
(100%)
...-end-value-set-to-nearest-should-display-correct-fit-for-type-linear-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+0 Bytes
(100%)
...d-value-set-to-nearest-should-display-correct-fit-for-type-lookahead-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+3 Bytes
(100%)
...end-value-set-to-nearest-should-display-correct-fit-for-type-nearest-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
...ts-end-value-set-to-nearest-should-display-correct-fit-for-type-none-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+0 Bytes
(100%)
...ts-end-value-set-to-nearest-should-display-correct-fit-for-type-zero-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...area-charts-no-end-value-should-display-correct-fit-for-type-average-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-5 Bytes
(100%)
...s-area-charts-no-end-value-should-display-correct-fit-for-type-carry-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-8 Bytes
(100%)
...rea-charts-no-end-value-should-display-correct-fit-for-type-explicit-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-3 Bytes
(100%)
...-area-charts-no-end-value-should-display-correct-fit-for-type-linear-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-25 Bytes
(100%)
...ea-charts-no-end-value-should-display-correct-fit-for-type-lookahead-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+3 Bytes
(100%)
...area-charts-no-end-value-should-display-correct-fit-for-type-nearest-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
...ts-area-charts-no-end-value-should-display-correct-fit-for-type-none-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+0 Bytes
(100%)
...ts-area-charts-no-end-value-should-display-correct-fit-for-type-zero-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-24 Bytes
(100%)
...nal-dataset-no-end-value-should-display-correct-fit-for-type-average-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+5 Bytes
(100%)
...dinal-dataset-no-end-value-should-display-correct-fit-for-type-carry-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+1 Byte
(100%)
...al-dataset-no-end-value-should-display-correct-fit-for-type-explicit-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+0 Bytes
(100%)
...inal-dataset-no-end-value-should-display-correct-fit-for-type-linear-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-2 Bytes
(100%)
...l-dataset-no-end-value-should-display-correct-fit-for-type-lookahead-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+4 Bytes
(100%)
...nal-dataset-no-end-value-should-display-correct-fit-for-type-nearest-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+6 Bytes
(100%)
...rdinal-dataset-no-end-value-should-display-correct-fit-for-type-none-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+8 Bytes
(100%)
...rdinal-dataset-no-end-value-should-display-correct-fit-for-type-zero-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+4 Bytes
(100%)
...urved-end-value-set-to-2-should-display-correct-fit-for-type-average-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+6 Bytes
(100%)
...-curved-end-value-set-to-2-should-display-correct-fit-for-type-carry-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-8 Bytes
(100%)
...rved-end-value-set-to-2-should-display-correct-fit-for-type-explicit-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+3 Bytes
(100%)
...curved-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%)
...ved-end-value-set-to-2-should-display-correct-fit-for-type-lookahead-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+3 Bytes
(100%)
...urved-end-value-set-to-2-should-display-correct-fit-for-type-nearest-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
...h-curved-end-value-set-to-2-should-display-correct-fit-for-type-none-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+0 Bytes
(100%)
...h-curved-end-value-set-to-2-should-display-correct-fit-for-type-zero-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+0 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
-8 Bytes
(100%)
...-charts-end-value-set-to-2-should-display-correct-fit-for-type-carry-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+3 Bytes
(100%)
...arts-end-value-set-to-2-should-display-correct-fit-for-type-explicit-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(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
-10 Bytes
(100%)
...rts-end-value-set-to-2-should-display-correct-fit-for-type-lookahead-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-11 Bytes
(100%)
...harts-end-value-set-to-2-should-display-correct-fit-for-type-nearest-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-3 Bytes
(100%)
...a-charts-end-value-set-to-2-should-display-correct-fit-for-type-none-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-13 Bytes
(100%)
...a-charts-end-value-set-to-2-should-display-correct-fit-for-type-zero-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
...end-value-set-to-nearest-should-display-correct-fit-for-type-average-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-10 Bytes
(100%)
...s-end-value-set-to-nearest-should-display-correct-fit-for-type-carry-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+3 Bytes
(100%)
...nd-value-set-to-nearest-should-display-correct-fit-for-type-explicit-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...-end-value-set-to-nearest-should-display-correct-fit-for-type-linear-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-6 Bytes
(100%)
...d-value-set-to-nearest-should-display-correct-fit-for-type-lookahead-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-11 Bytes
(100%)
...end-value-set-to-nearest-should-display-correct-fit-for-type-nearest-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-3 Bytes
(100%)
...ts-end-value-set-to-nearest-should-display-correct-fit-for-type-none-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-13 Bytes
(100%)
...ts-end-value-set-to-nearest-should-display-correct-fit-for-type-zero-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
...area-charts-no-end-value-should-display-correct-fit-for-type-average-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-3 Bytes
(100%)
...e-area-charts-no-end-value-should-display-correct-fit-for-type-carry-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+3 Bytes
(100%)
...rea-charts-no-end-value-should-display-correct-fit-for-type-explicit-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-7 Bytes
(100%)
...-area-charts-no-end-value-should-display-correct-fit-for-type-linear-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-8 Bytes
(100%)
...ea-charts-no-end-value-should-display-correct-fit-for-type-lookahead-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-11 Bytes
(100%)
...area-charts-no-end-value-should-display-correct-fit-for-type-nearest-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-3 Bytes
(100%)
...ge-area-charts-no-end-value-should-display-correct-fit-for-type-none-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-13 Bytes
(100%)
...ge-area-charts-no-end-value-should-display-correct-fit-for-type-zero-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-10 Bytes
(100%)
...nal-dataset-no-end-value-should-display-correct-fit-for-type-average-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-14 Bytes
(100%)
...dinal-dataset-no-end-value-should-display-correct-fit-for-type-carry-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-5 Bytes
(100%)
...al-dataset-no-end-value-should-display-correct-fit-for-type-explicit-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+1 Byte
(100%)
...inal-dataset-no-end-value-should-display-correct-fit-for-type-linear-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+9 Bytes
(100%)
...l-dataset-no-end-value-should-display-correct-fit-for-type-lookahead-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+9 Bytes
(100%)
...nal-dataset-no-end-value-should-display-correct-fit-for-type-nearest-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+1 Byte
(100%)
...rdinal-dataset-no-end-value-should-display-correct-fit-for-type-none-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+1 Byte
(100%)
...rdinal-dataset-no-end-value-should-display-correct-fit-for-type-zero-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+0 Bytes
(100%)
...urved-end-value-set-to-2-should-display-correct-fit-for-type-average-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-8 Bytes
(100%)
...-curved-end-value-set-to-2-should-display-correct-fit-for-type-carry-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
+3 Bytes
(100%)
...rved-end-value-set-to-2-should-display-correct-fit-for-type-explicit-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...curved-end-value-set-to-2-should-display-correct-fit-for-type-linear-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-10 Bytes
(100%)
...ved-end-value-set-to-2-should-display-correct-fit-for-type-lookahead-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-11 Bytes
(100%)
...urved-end-value-set-to-2-should-display-correct-fit-for-type-nearest-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-3 Bytes
(100%)
...h-curved-end-value-set-to-2-should-display-correct-fit-for-type-none-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-13 Bytes
(100%)
...h-curved-end-value-set-to-2-should-display-correct-fit-for-type-zero-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
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
48 changes: 48 additions & 0 deletions
48
src/chart_types/xy_chart/renderer/canvas/primitives/utils.ts
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/* | ||
* Licensed to Elasticsearch B.V. under one or more contributor | ||
* license agreements. See the NOTICE file distributed with | ||
* this work for additional information regarding copyright | ||
* ownership. Elasticsearch B.V. licenses this file to you under | ||
* the Apache License, Version 2.0 (the "License"); you may | ||
* not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
import { Fill, Stroke } from '../../../../../geoms/types'; | ||
import { RGBtoString } from '../../../../partition_chart/layout/utils/color_library_wrappers'; | ||
import { MIN_STROKE_WIDTH } from './line'; | ||
|
||
/** | ||
* WARNING: This function modify directly, without saving, the context calling the fill() and/or stroke() if defined | ||
* @internal | ||
*/ | ||
export function fillAndStroke(ctx: CanvasRenderingContext2D, fill?: Fill, stroke?: Stroke, path?: Path2D) { | ||
if (fill) { | ||
ctx.fillStyle = RGBtoString(fill.color); | ||
if (path) { | ||
ctx.fill(path); | ||
} else { | ||
ctx.fill(); | ||
} | ||
} | ||
if (stroke && stroke.width > MIN_STROKE_WIDTH) { | ||
ctx.strokeStyle = RGBtoString(stroke.color); | ||
ctx.lineWidth = stroke.width; | ||
if (stroke.dash) { | ||
ctx.setLineDash(stroke.dash); | ||
} | ||
if (path) { | ||
ctx.stroke(path); | ||
} else { | ||
ctx.stroke(); | ||
} | ||
} | ||
} |
Oops, something went wrong.