Project a time-series or histogram artifact into µPlot options and aligned
data. Pure and DOM-free, so the whole projection is unit-testable and can be
asserted against without a canvas.
Time-series x values are epoch seconds (µPlot's scales.x.time
convention). Histogram x values are bin midpoints on a linear scale. Null
measures stay null so µPlot renders a gap rather than a false zero.
Project a time-series or histogram artifact into µPlot options and aligned data. Pure and DOM-free, so the whole projection is unit-testable and can be asserted against without a canvas.
Time-series x values are epoch seconds (µPlot's
scales.x.timeconvention). Histogram x values are bin midpoints on a linear scale. Null measures staynullso µPlot renders a gap rather than a false zero.