Per-channel settings and derived values of the live plot page.
Pure TypeScript with no Svelte dependency, so it is unit tested directly. The page
keeps one "plot/channel-view.svelte"!ChannelView per enabled channel; these
helpers compute what it shows from that state.
Per-channel settings and derived values of the live plot page.
Pure TypeScript with no Svelte dependency, so it is unit tested directly. The page keeps one "plot/channel-view.svelte"!ChannelView per enabled channel; these helpers compute what it shows from that state.