# Power chart, are trends always interpolated?

**URL:** <https://forum.inductiveautomation.com/t/power-chart-are-trends-always-interpolated/40416>\
**Category:** Ignition Early Access\
**Tags:** perspective, ignition80\
**Created:** [November 7, 2020, 8:45pm UTC](https://forum.inductiveautomation.com/t/power-chart-are-trends-always-interpolated/40416 "2020-11-07T20:45:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tordvd](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tordvd/32/11525_2.png) [@tordvd](https://forum.inductiveautomation.com/u/tordvd)\
**Post date:** [November 7, 2020, 8:45pm UTC](https://forum.inductiveautomation.com/t/power-chart-are-trends-always-interpolated/40416/1 "2020-11-07T20:45:26Z")

</div>

As I am trending iOT sensors I would like to view the pens in a digital style.

The measurements arrive quite seldom, so if i want to watch the last 24 hours, and i only have 8 measurements, the interpolation makes the trend useless (for my case).

I see when using bindings in general in Perspective, one has the historical binding option “asStored”. Then by creating two trends from the same series in a time series chart one can atleast see the points (still missing the digital style though):

The power chart does not have an option for either digital style, or asstored. Am I missing something, or maybe this should be a feature request?

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

Edit:  
One more thing. What is the point of the “scatter option”, if the historical data is always interpolated? This will always result in a “scatter” point on all interpolated times

---

<div class="post-metadata">

**Author:** ![BenKearney](https://avatars.discourse-cdn.com/v4/letter/b/b19c9b/32.png) [@BenKearney](https://forum.inductiveautomation.com/u/BenKearney)\
**Post date:** [November 8, 2020, 4:15am UTC](https://forum.inductiveautomation.com/t/power-chart-are-trends-always-interpolated/40416/2 "2020-11-08T04:15:28Z")

</div>

In your ‘pens’ objects, change the interpolation type to ‘curveStepAfter’

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/7/87759732d3ff5bd4e45d8f6b2c9ec6a8ae205994.png)

---

<div class="post-metadata">

**Author:** ![tordvd](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tordvd/32/11525_2.png) [@tordvd](https://forum.inductiveautomation.com/u/tordvd)\
**Post date:** [November 8, 2020, 8:31pm UTC](https://forum.inductiveautomation.com/t/power-chart-are-trends-always-interpolated/40416/3 "2020-11-08T20:31:52Z")

</div>

That was easier than expected 🙂 thanks alot!

---

<div class="post-metadata">

**Author:** ![tordvd](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tordvd/32/11525_2.png) [@tordvd](https://forum.inductiveautomation.com/u/tordvd)\
**Post date:** [November 9, 2020, 8:02pm UTC](https://forum.inductiveautomation.com/t/power-chart-are-trends-always-interpolated/40416/4 "2020-11-09T20:02:43Z")

</div>

A prerequisite for using curvestepAfter, is that the measurement has to bee stored with a discrete Deadband Style:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/1/21f20ba19e92e149c8300322fcf0db7ab28ed6bd.png)  
If not you get these:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/9/29bd5a895f3e2e80c56624b9baf97f13f3c1e990.png)

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [February 17, 2021, 10:05pm UTC](https://forum.inductiveautomation.com/t/power-chart-are-trends-always-interpolated/40416/5 "2021-02-17T22:05:27Z")

</div>

Thanks for the tip on the “Discrete” prerequisite. It help me today.

Can you add a caption to the red ellipse images above? What are we supposed to learn from them?

---

<div class="post-metadata">

**Author:** ![tyler.bennett](https://avatars.discourse-cdn.com/v4/letter/t/f04885/32.png) [@tyler.bennett](https://forum.inductiveautomation.com/u/tyler.bennett)\
**Post date:** [November 7, 2023, 6:10pm UTC](https://forum.inductiveautomation.com/t/power-chart-are-trends-always-interpolated/40416/6 "2023-11-07T18:10:39Z")

</div>

Note that one can also change the `config > pointCount` property on the Power Chart component to `-1`. That will return only as-stored values and present them in a manner consistent with step interpolation. That works even when the tag history has not been configured using `discrete` as the `deadband style` and does not seem to be affected by the `interpolation` setting on the pen configuration.

- [Perspective PowerChart Properties](https://docs.inductiveautomation.com/display/DOC81/Perspective+-+Power+Chart#PerspectivePowerChart-Properties)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/8/189dab4c898e99e7bc0ede0711520d771e11c6d3.png)
