From cbd50cfece9aaa84890e8ac28fd344e2a4cd2c0f Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Thu, 3 Sep 2026 15:46:42 +0000 Subject: [PATCH] Clip chart plot curves to the chart area with a per-chart SVG clipPath. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Past-week overlays can run far above the autoscaled y range, and the svg is overflow: visible for the axis labels — wrap the data paths (bars, skyline, area/line curves) in a clipped group so they cannot paint outside the plot rect. --- frontend/src/VisitorCharts.vue | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/frontend/src/VisitorCharts.vue b/frontend/src/VisitorCharts.vue index 8d43f1e..3102ecc 100644 --- a/frontend/src/VisitorCharts.vue +++ b/frontend/src/VisitorCharts.vue @@ -75,25 +75,33 @@ const viewChart = computed(() => buildChart(viewSeries.value, now.value)) + + + + - -