# Can you draw horizontal line in Power Chart

**URL:** <https://forum.inductiveautomation.com/t/can-you-draw-horizontal-line-in-power-chart/94920>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [August 21, 2024, 4:08am UTC](https://forum.inductiveautomation.com/t/can-you-draw-horizontal-line-in-power-chart/94920 "2024-08-21T04:08:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eugene49](https://avatars.discourse-cdn.com/v4/letter/e/c6cbf5/32.png) [@Eugene49](https://forum.inductiveautomation.com/u/Eugene49)\
**Post date:** [August 21, 2024, 4:08am UTC](https://forum.inductiveautomation.com/t/can-you-draw-horizontal-line-in-power-chart/94920/1 "2024-08-21T04:08:22Z")

</div>

Our power chart shows the process variable,  
We want to show the level where the process variable becomes alarm active.

Is there a way to show horizontal line at this point?

---

<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:** [August 21, 2024, 9:58am UTC](https://forum.inductiveautomation.com/t/can-you-draw-horizontal-line-in-power-chart/94920/2 "2024-08-21T09:58:16Z")

</div>

All the pens come from the historian so you'd need to log the alarm setpoint there. Set the sample mode to onChange with set the Max Time Between Samples to a value that will ensure that you get start and end values for the timespans you are likely to want.  
Set the plot type to "stepAfter" so that you get a step change when the alarm level changes, rather than a curve.
