AnsweredAssumed Answered

Hourly averages compared on plot to hourly averages from other days

Question asked by CIP7 on May 6, 2019
Latest reply on May 24, 2019 by CIP7

I am looking into the viability of plotting data using PI to make the following chart

This is showing live data for today (which plots in real time) compared to the data for yesterday, and the same day one week ago (current day - 7). Also included is a forecast plot which is simply by hour.


The current behavior is that at the beginning of each day, the plot is erased and the forecast, yesterday and last week plots are drawn. Then, as the day progresses, the Today value is added in. Note that daylight savings time is an issue, so some days are 23 or 25 hours long and are being compared to 24 hour days.


Is this something I can do simply in PI vision or am I going to need to use something like PI AF to create day length windows of data?


As should be obvious, I'm a complete noob at PI


Thanks for any help