Ignition 8.3 - Timeseries chart - Live +T-1 tag trend

Hi Team, we have been trying to display both the live tag values [historized] and the t-1 value of the same tag as 2 different series on the same timeseries chart.

We have tried multiple techniques to accomplish the same but seem to hit a roadblock with every approach. The requirement is fairly simple:

  1. Say a tag called total_production exists on central which is constantly updated by a gateway script and is historized to a postgre db.
  2. Now all we need is to display a TimeSeries chart which will
    1. Show a trend [series (0)] from the live (historized) tag
    2. Show another parallel trend [series (1)] which represents the t-1 value of the same tag, where t could be in seconds/minutes/hours

I have attached a view.json of the view that contains one of such many attempts.

view.json (8.2 KB)