# A way to historicize or make static previous chart information on a perspective time series chart?

**URL:** <https://forum.inductiveautomation.com/t/a-way-to-historicize-or-make-static-previous-chart-information-on-a-perspective-time-series-chart/93301>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [July 16, 2024, 6:10pm UTC](https://forum.inductiveautomation.com/t/a-way-to-historicize-or-make-static-previous-chart-information-on-a-perspective-time-series-chart/93301 "2024-07-16T18:10:28Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![D\_Mitri\_Tompkins](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@D\_Mitri\_Tompkins](https://forum.inductiveautomation.com/u/D_Mitri_Tompkins)\
**Post date:** [July 16, 2024, 6:10pm UTC](https://forum.inductiveautomation.com/t/a-way-to-historicize-or-make-static-previous-chart-information-on-a-perspective-time-series-chart/93301/1 "2024-07-16T18:10:28Z")

</div>

Have time series charts that compare values from a historian tag to a setpoint, and then displays segments of 2 minutes where the value is above setpoint as green and values below as red. With much much help from this forum it is working essentially as intended, however one unforeseen consequence of using the history enabled tag is that whenever the operator changes the setpoint, the chart will sort of "back update" and change the display to match if the Old value was above or below the New setpoint. Is there any way to make the chart only look at the most recent value in the historian tag and sort of "record" that, only clearing / resetting after say 24 hours?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 16, 2024, 6:17pm UTC](https://forum.inductiveautomation.com/t/a-way-to-historicize-or-make-static-previous-chart-information-on-a-perspective-time-series-chart/93301/3 "2024-07-16T18:17:25Z")

</div>

Sounds like you need to historize your setpoint, too, then use its history in your comparisons.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 16, 2024, 6:22pm UTC](https://forum.inductiveautomation.com/t/a-way-to-historicize-or-make-static-previous-chart-information-on-a-perspective-time-series-chart/93301/5 "2024-07-16T18:22:12Z")

</div>

No, you'd have to bind that setpoint to a memory tag, and historize that.

---

<div class="post-metadata">

**Author:** ![D\_Mitri\_Tompkins](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@D\_Mitri\_Tompkins](https://forum.inductiveautomation.com/u/D_Mitri_Tompkins)\
**Post date:** [July 16, 2024, 6:25pm UTC](https://forum.inductiveautomation.com/t/a-way-to-historicize-or-make-static-previous-chart-information-on-a-perspective-time-series-chart/93301/6 "2024-07-16T18:25:58Z")

</div>

This is the custom binding for the setpoint:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/9/29bc7058219b73a5b51db13a954e1bfc06bfbe99.png)  
The tag referenced here ^ does have history enabled

This is how it is referenced in the chart:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/5/a5c0ff0d17a89723c68869782ada7da1534ed489.png)

Is there a simple way to make this reference the historicized info?

---

<div class="post-metadata">

**Author:** ![D\_Mitri\_Tompkins](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@D\_Mitri\_Tompkins](https://forum.inductiveautomation.com/u/D_Mitri_Tompkins)\
**Post date:** [July 16, 2024, 6:29pm UTC](https://forum.inductiveautomation.com/t/a-way-to-historicize-or-make-static-previous-chart-information-on-a-perspective-time-series-chart/93301/7 "2024-07-16T18:29:14Z")

</div>

Sorry, here is the tag it is bound to:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/3/a303f1aef754297df098927fbe52c002fa7e2125.png)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 16, 2024, 6:34pm UTC](https://forum.inductiveautomation.com/t/a-way-to-historicize-or-make-static-previous-chart-information-on-a-perspective-time-series-chart/93301/8 "2024-07-16T18:34:05Z")

</div>

> [@D\_Mitri\_Tompkins](#):
>
> Is there a simple way to make this reference the historicized info?

Not really. You have to query history for both tags, then transform to produce process value and error value at each process value timestamp, then color each point (or split into the separately colored pens).

---

<div class="post-metadata">

**Author:** ![D\_Mitri\_Tompkins](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@D\_Mitri\_Tompkins](https://forum.inductiveautomation.com/u/D_Mitri_Tompkins)\
**Post date:** [July 16, 2024, 6:38pm UTC](https://forum.inductiveautomation.com/t/a-way-to-historicize-or-make-static-previous-chart-information-on-a-perspective-time-series-chart/93301/9 "2024-07-16T18:38:45Z")

</div>

It currently has two different pens already, as far as the rest of it though it sounds very beyond me, thank you for your time and consideration though.

---

<div class="post-metadata">

**Author:** ![D\_Mitri\_Tompkins](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@D\_Mitri\_Tompkins](https://forum.inductiveautomation.com/u/D_Mitri_Tompkins)\
**Post date:** [July 16, 2024, 6:49pm UTC](https://forum.inductiveautomation.com/t/a-way-to-historicize-or-make-static-previous-chart-information-on-a-perspective-time-series-chart/93301/10 "2024-07-16T18:49:59Z")

</div>

or do you have any resources for querying history and the other necessary knowledge for this route?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 16, 2024, 6:59pm UTC](https://forum.inductiveautomation.com/t/a-way-to-historicize-or-make-static-previous-chart-information-on-a-perspective-time-series-chart/93301/11 "2024-07-16T18:59:03Z")

</div>

> [@D\_Mitri\_Tompkins](#):
>
> resources for querying history

Presumably you **have** a history query already, for the process value. You would add to that query to also return the setpoint history.

> [@D\_Mitri\_Tompkins](#):
>
> other necessary knowledge

Yes. But on this forum, in public, I generally coach rather than do, unless the task is uniquely interesting and I have time. That produces, in my opinion, the most value for participants, lurkers, and future visitor searches.

I'm an integrator--I'm always interested in offering my professional services to those not willing to be coached. Contact me privately to go that route.
