From 596bcd304a87ca31602a665d0148dea8dcfd14da Mon Sep 17 00:00:00 2001 From: Ross Johnson <159597299+rosco54@users.noreply.github.com> Date: Fri, 11 Oct 2024 12:25:31 +1100 Subject: [PATCH] Restore true stroke paths on bars and columns. Strokes on different bars/columns should not overlap or cause bar/columns to appear longer or wider than their values dictate or be visually ambiguous. Include fix paths for negative and reversed bar/column rendering that required removal of this feature. border-radius-test: change breakpoint for better aesthetics at narrow chart width. stacked-column-outline.xml: New sample source stacked-column-outline.* : Products of new sample --- ...umn_outline.html => stacked-column-outline.html} | 4 ++++ ...olumn_outline.xml => stacked-column-outline.xml} | 4 ++++ ...umn_outline.html => stacked-column-outline.html} | 4 ++++ ...umn_outline.html => stacked-column-outline.html} | 4 ++++ ...olumn_outline.png => stacked-column-outline.png} | Bin 5 files changed, 16 insertions(+) rename samples/react/column/{stacked-column_outline.html => stacked-column-outline.html} (98%) rename samples/source/column/{stacked-column_outline.xml => stacked-column-outline.xml} (96%) rename samples/vanilla-js/column/{stacked-column_outline.html => stacked-column-outline.html} (97%) rename samples/vue/column/{stacked-column_outline.html => stacked-column-outline.html} (97%) rename tests/e2e/snapshots/column/{stacked-column_outline.png => stacked-column-outline.png} (100%) diff --git a/samples/react/column/stacked-column_outline.html b/samples/react/column/stacked-column-outline.html similarity index 98% rename from samples/react/column/stacked-column_outline.html rename to samples/react/column/stacked-column-outline.html index 4a1e689c3..03270a93b 100644 --- a/samples/react/column/stacked-column_outline.html +++ b/samples/react/column/stacked-column-outline.html @@ -138,6 +138,10 @@ '01/05/2011 GMT', '01/06/2011 GMT' ], }, + yaxis: { + reversed: false, + stepSize: 10 + }, legend: { position: 'right', offsetY: 40 diff --git a/samples/source/column/stacked-column_outline.xml b/samples/source/column/stacked-column-outline.xml similarity index 96% rename from samples/source/column/stacked-column_outline.xml rename to samples/source/column/stacked-column-outline.xml index ee27c19f6..29072f199 100644 --- a/samples/source/column/stacked-column_outline.xml +++ b/samples/source/column/stacked-column-outline.xml @@ -55,6 +55,10 @@ xaxis: { '01/05/2011 GMT', '01/06/2011 GMT' ], }, +yaxis: { + reversed: false, + stepSize: 10 +}, legend: { position: 'right', offsetY: 40 diff --git a/samples/vanilla-js/column/stacked-column_outline.html b/samples/vanilla-js/column/stacked-column-outline.html similarity index 97% rename from samples/vanilla-js/column/stacked-column_outline.html rename to samples/vanilla-js/column/stacked-column-outline.html index 7251d8b33..65c07dbf6 100644 --- a/samples/vanilla-js/column/stacked-column_outline.html +++ b/samples/vanilla-js/column/stacked-column-outline.html @@ -121,6 +121,10 @@ '01/05/2011 GMT', '01/06/2011 GMT' ], }, + yaxis: { + reversed: false, + stepSize: 10 + }, legend: { position: 'right', offsetY: 40 diff --git a/samples/vue/column/stacked-column_outline.html b/samples/vue/column/stacked-column-outline.html similarity index 97% rename from samples/vue/column/stacked-column_outline.html rename to samples/vue/column/stacked-column-outline.html index 1429860dd..90aff8ecd 100644 --- a/samples/vue/column/stacked-column_outline.html +++ b/samples/vue/column/stacked-column-outline.html @@ -141,6 +141,10 @@ '01/05/2011 GMT', '01/06/2011 GMT' ], }, + yaxis: { + reversed: false, + stepSize: 10 + }, legend: { position: 'right', offsetY: 40 diff --git a/tests/e2e/snapshots/column/stacked-column_outline.png b/tests/e2e/snapshots/column/stacked-column-outline.png similarity index 100% rename from tests/e2e/snapshots/column/stacked-column_outline.png rename to tests/e2e/snapshots/column/stacked-column-outline.png