# Power Chart Vertical Markers

**URL:** <https://forum.inductiveautomation.com/t/power-chart-vertical-markers/93733>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [July 25, 2024, 8:47am UTC](https://forum.inductiveautomation.com/t/power-chart-vertical-markers/93733 "2024-07-25T08:47:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martin\_Chauveliere](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@Martin\_Chauveliere](https://forum.inductiveautomation.com/u/Martin_Chauveliere)\
**Post date:** [July 25, 2024, 8:47am UTC](https://forum.inductiveautomation.com/t/power-chart-vertical-markers/93733/1 "2024-07-25T08:47:47Z")

</div>

Hi guys,

In Power Chart I can easily do horizontal markers

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/3/332fb2b8e1844fde7e013b7546ae144ed7b7b664.jpeg)

But is that possible to make vertical ones ?  
Such as :

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/d/4de0fd4fd9ab5b6d54943f9dd49f129950f5d822.jpeg)

for example

Thx for your help

---

<div class="post-metadata">

**Author:** ![simeonw](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@simeonw](https://forum.inductiveautomation.com/u/simeonw)\
**Post date:** [July 25, 2024, 8:27pm UTC](https://forum.inductiveautomation.com/t/power-chart-vertical-markers/93733/2 "2024-07-25T20:27:31Z")

</div>

The range brushes might be an option.

You can manually add ranges brushes, by switching the interaction mode to "rangeBrush" and use your mouse to draw a new range on the chart. Otherwise, they are accessible under interaction.rangeBrush.values

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/6/86700124e17c7c40646a5fe65a276b1dbd33496b.png)

If you switch back to another interaction mode, say "panZoom", you just can't see the rangesBrushes in the property editor, but you can still access them:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/5/459cca52ba91f5c90ab78e57c1a7da561bdc029e.png)

As with any other property, you can always make the brushes dynamic with a binding or writing to them through a script.

---

<div class="post-metadata">

**Author:** ![Martin\_Chauveliere](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@Martin\_Chauveliere](https://forum.inductiveautomation.com/u/Martin_Chauveliere)\
**Post date:** [August 2, 2024, 3:00pm UTC](https://forum.inductiveautomation.com/t/power-chart-vertical-markers/93733/3 "2024-08-02T15:00:55Z")

</div>

Thx for your answer Simeonw, the brush kinda do the job.  
But I still get some troubles because the brush doesn't refresh automatically, still working on that part.

Any boost, would be appreciated too

Thx again

---

<div class="post-metadata">

**Author:** ![simeonw](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@simeonw](https://forum.inductiveautomation.com/u/simeonw)\
**Post date:** [August 4, 2024, 11:14pm UTC](https://forum.inductiveautomation.com/t/power-chart-vertical-markers/93733/4 "2024-08-04T23:14:41Z")

</div>

If you want the binding on the range brushes to refresh whenever another value/prop changes (i.e. the chart data prop), you can always use the `refreshBinding` method to trigger that, using a Change Script.

[Perspective Component Methods | Ignition User Manual (inductiveautomation.com)](https://www.docs.inductiveautomation.com/docs/8.1/ignition-modules/perspective/scripting-in-perspective/perspective-component-methods#refreshing-bindings)

Alternatively, if the brushes are in fact based off the chart data, you could bind the range brushes prop to the chart data prop and add a script transform. That way, any changes to data automatically update the brushes.
