diff --git a/website/src/components/svelte/genericCharts/barChart.svelte b/website/src/components/svelte/genericCharts/barChart.svelte index a62d80b35..4d5c861fd 100644 --- a/website/src/components/svelte/genericCharts/barChart.svelte +++ b/website/src/components/svelte/genericCharts/barChart.svelte @@ -145,6 +145,10 @@ }, }, zoom: { + pan: { + enabled: enableZoom, + mode: 'x', + }, zoom: { wheel: { enabled: enableZoom, diff --git a/website/src/components/svelte/genericCharts/stackedBarChart.svelte b/website/src/components/svelte/genericCharts/stackedBarChart.svelte index 3b0b91db1..c28891fc0 100644 --- a/website/src/components/svelte/genericCharts/stackedBarChart.svelte +++ b/website/src/components/svelte/genericCharts/stackedBarChart.svelte @@ -72,6 +72,10 @@ }, }, zoom: { + pan: { + enabled: enableZoom, + mode: 'x', + }, zoom: { wheel: { enabled: enableZoom,