From 760a61001edafb462ca9c7f5bc8013f31fb15a5c Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Fri, 25 Sep 2026 09:10:31 +0200 Subject: Compress comments to terse single lines within line width --- src/lib/components/HealthChart.svelte | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/lib/components') diff --git a/src/lib/components/HealthChart.svelte b/src/lib/components/HealthChart.svelte index c6121e3..6de0891 100644 --- a/src/lib/components/HealthChart.svelte +++ b/src/lib/components/HealthChart.svelte @@ -20,9 +20,7 @@ markers.map((t) => ({ date: new Date(t), health: 100 })), ); - // Up to 5 x ticks spread across the series, skipping repeats (two samples - // the same day would print the same label twice). Dates stay Date objects - // because LayerChart's time scale consumes them; labels go through Temporal. + // Up to 5 x ticks across the series, skipping same-day repeats. const xTicks = $derived.by(() => { if (data.length < 2) return undefined; const step = Math.max(1, Math.floor((data.length - 1) / 4)); -- cgit v1.3