Skip to content

Comparing periods

A comparison draws the same pens over an earlier period, lined up with the chart's start, in a dash and a lighter shade of each pen's colour.

Flow and tank level against the day before

View > Compare with has 1 day earlier, 1 week earlier and 1 year earlier. The View button then says what the chart is compared with ("vs 1 day").

View > Compare with > Other times… (or Chart settings) adds earlier start times, typed as in the time picker (2026-11-20 08:00, now-3d) or picked on a calendar. Use it to compare batches or shifts: give the start of each earlier batch.

  • A chart compares with at most four periods at once; a preset counts as one.
  • Each comparison is the chart's span from its own start.
  • A time that is not before the chart's start is refused.
  • A typed time is kept as its distance from the chart's start, so a live chart keeps comparing with the same stretch as it moves, and zoom and pan move the comparison along.

Saved charts and links keep their comparisons.

  • Each comparison has its own key in the legend's head ("1 day earlier", "From 20 Nov 08:00").
  • X-trace boxes show the comparison's value too, named by the preset ("1 day earlier") or by the time of the value.
  • Point at a comparison's key (or tap it) to bring its curves forward while the others fade. Click it to keep it so until you click again.
  • A pen shown as bars per period is compared bar for bar, with outlines over its own bars.

Integrators can supply comparison start times from a binding with the compareTo prop, such as the starts of the last batches from a named query. They are listed as "from the view" and are not saved with the chart. See Chart props.