- Per-signal, per-plot vertical scale state (sigVScale keyed by plotId:signalKey)
so the same signal in two plots has fully independent vscale config
- Active signal redrawn on top of all series with 2× line width for clear
visual identification; badge click toggles selection and opens/closes the
embedded vscale toolbar (click same badge again to deselect)
- Vscale configurator moved from floating popup to a slim toolbar strip
anchored inside the plot card, with an × close button
- Trigger dropdown shows one entry per array signal with [0…N-1] label;
opening it shows an index-picker dialog to choose the element
- Zoom resampling: when server returns no data for a zoomed range, fall
back to the local circular buffer instead of returning empty arrays
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace fragile zoomGuard boolean with userInteracting flag so that
programmatic scale updates (rolling window, resize, fit) never lock
p.xRange. Only genuine mouse drag or scroll-wheel events on the uPlot
canvas set userInteracting=true and allow onZoom to freeze the view.
Also move stale-xRange detection out of the needsRedraw gate so that a
plot whose circular buffer has scrolled past a frozen zoom range
automatically returns to rolling-window mode every frame, fixing the
second bug where data disappeared as the buffer wrapped.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>