From 84c5e0dd758e25fff8920076da78eca15649ce4f Mon Sep 17 00:00:00 2001 From: David Vegh Date: Thu, 28 Nov 2024 11:25:44 +0100 Subject: [PATCH] Fixed tutorial align range snippet --- docs/tutorial/align_range/02_b.js | 7 ++++++- docs/tutorial/align_range/03_b.js | 7 +------ test/e2e/tests/docs.json | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/tutorial/align_range/02_b.js b/docs/tutorial/align_range/02_b.js index aec3f6b80..aa3591dfd 100644 --- a/docs/tutorial/align_range/02_b.js +++ b/docs/tutorial/align_range/02_b.js @@ -1,5 +1,10 @@ chart.animate({ config: { - align: 'stretch' + align: 'stretch', + channels: { + y: { + labels: true + } + } } }) diff --git a/docs/tutorial/align_range/03_b.js b/docs/tutorial/align_range/03_b.js index 109368056..6166c47b9 100644 --- a/docs/tutorial/align_range/03_b.js +++ b/docs/tutorial/align_range/03_b.js @@ -1,10 +1,5 @@ chart.animate({ config: { - align: 'none', - channels: { - y: { - labels: true - } - } + align: 'none' } }) diff --git a/test/e2e/tests/docs.json b/test/e2e/tests/docs.json index 33dde8416..981272ea2 100644 --- a/test/e2e/tests/docs.json +++ b/test/e2e/tests/docs.json @@ -5,7 +5,7 @@ "refs": ["83f7b33"] }, "align_range": { - "refs": ["b3188f8"] + "refs": ["c4478ca"] }, "animation_control_keyframes": { "refs": ["ef161c7"]