From cc2b5fcfcb9d22994f12741471b12c492668cf61 Mon Sep 17 00:00:00 2001 From: Branden J Brown Date: Sun, 14 Jun 2026 18:59:33 -0400 Subject: [PATCH] zenno: make stat chart tooltips attach vertically --- zenno/src/lib/StatChart.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zenno/src/lib/StatChart.svelte b/zenno/src/lib/StatChart.svelte index 8f5d30b..8415a90 100644 --- a/zenno/src/lib/StatChart.svelte +++ b/zenno/src/lib/StatChart.svelte @@ -122,7 +122,7 @@ Plot.line(areaVals, { x: 'x', y: 'y1', stroke: 'label' }), Plot.line(areaVals, { x: 'x', y: 'y2', stroke: 'label' }), Plot.line(vals, { x: 'x', y: 'y', stroke: 'label', strokeWidth: 3 }), - vals.length > 0 ? Plot.tip(vals, Plot.pointerY({ x: 'x', y: 'y', stroke: 'label', className: 'plot-tip' })) : null, + vals.length > 0 ? Plot.tip(vals, Plot.pointerX({ x: 'x', y: 'y', stroke: 'label', className: 'plot-tip' })) : null, ], }), );