The "Left over time" curve drew one descending segment per recorded cycle
of every window. Over the cycle range of a weekly window, the 5-hour
window therefore showed a run of sawtooth drops, each resetting to 100%
and falling again. @xxxxxthhh: "the 5-hour window's lines dropping one by
one are too messy, like bugs crawling".
Chosen: a window far shorter than the span (the existing `short` case in
drawQuotaPlot) keeps only the points of its current cycle, so the plot has
one drop at the right edge and the legend carries its figure. Past 5-hour
cycles are not drawn faint or banded: they say nothing the weekly line
beside them doesn't, and a band or a second style would add marks to a
52px plot. Longer windows, the 2-day range, the picked past cycle, the
colours and the layout are unchanged; the short line is now one
segment, so it is a little firmer (1.25px, .7) than the faint comb was.
Run on mote: quota-curve.test.cjs in chromium and webkit (en, zh, zh-TW,
ja, de) with its 5-hour assertion now one subpath; it fails on the old
assets (two subpaths). Before/after screenshots in
magpie-wt/leftover-chart-scratch/shots. Whole GUI suite and
internal/gui Go tests are run after this commit; see the follow-up note.
Not tried: a real account's week of readings.