# Power chart range brush selection

**URL:** <https://forum.inductiveautomation.com/t/power-chart-range-brush-selection/101546>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [January 29, 2025, 11:12am UTC](https://forum.inductiveautomation.com/t/power-chart-range-brush-selection/101546 "2025-01-29T11:12:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eMax](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@eMax](https://forum.inductiveautomation.com/u/eMax)\
**Post date:** [January 29, 2025, 11:12am UTC](https://forum.inductiveautomation.com/t/power-chart-range-brush-selection/101546/1 "2025-01-29T11:12:26Z")

</div>

Hi all,  
I'm trying to set up the power chart, so far everything is ok, it's a very powerful tool for data analysis!  
One thing I can't understand (maybe it's not possible) is when I set the Range Brush, in the bottom menu I see the start/end date of the selection, ok, but is it not possible to display the duration in HH:mm:ss of the selection?

 ![powerChartRangeBrush](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/c/fc1cba32302f9c1f16501517f506c241e948f50e.jpeg)  
I posted a second photo to show what I'm talking about (it comes from another scada using another object).  
 ![intouchTrendControl](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/3/c3309ed203494b5f6a94250d0f0f0d856c77e909.jpeg)

Many thanks.

---

<div class="post-metadata">

**Author:** ![kvane](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kvane/32/22228_2.png) [@kvane](https://forum.inductiveautomation.com/u/kvane)\
**Post date:** [February 6, 2025, 11:18pm UTC](https://forum.inductiveautomation.com/t/power-chart-range-brush-selection/101546/2 "2025-02-06T23:18:10Z")

</div>

Hey eMax,

This should be possible, you might not have found the correct property yet.

> **[Perspective - Power Chart | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/appendix/components/perspective-components/perspective-chart-palette/perspective-power-chart)**
>
> The Power Chart collects and displays data based on the pens that have been configured on the chart.

The User Manual page for the component is massive, in this case it is easier to find what you're looking for by testing in the Designer. In the Designer, in Preview Mode, if you create a range selection you can look inside the props at the **interaction.rangeBrush.values** array. Here you will find objects that represent the range brush, including a start and end, so you can then calculate the time range value.

More information on the interaction properties is in a specific table on that User Manual page: [Perspective - Power Chart | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/appendix/components/perspective-components/perspective-chart-palette/perspective-power-chart#interactionmode-properties)

For displaying the range, you can then format the time value using an expression binding and some sort of label. If you use multiple ranges you may need a more dynamic system like a flex repeater of labels.

---

<div class="post-metadata">

**Author:** ![eMax](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@eMax](https://forum.inductiveautomation.com/u/eMax)\
**Post date:** [February 7, 2025, 12:16pm UTC](https://forum.inductiveautomation.com/t/power-chart-range-brush-selection/101546/3 "2025-02-07T12:16:53Z")

</div>

Ciao KVane.  
I tried to use the custom property: " interaction.rangeBrush.values" as you suggested. It works! Thanks.  
The only thing I don't "like so much" is that I have to put the "range value" label outside the power chart object. But that's fine.  
Thanks again  
eMax
