# \[Bug\] PowerChart rangeStartDate and rangeEndDate not working

**URL:** <https://forum.inductiveautomation.com/t/bug-powerchart-rangestartdate-and-rangeenddate-not-working/98164>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [November 4, 2024, 10:51pm UTC](https://forum.inductiveautomation.com/t/bug-powerchart-rangestartdate-and-rangeenddate-not-working/98164 "2024-11-04T22:51:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert\_McIlvenna](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robert_mcilvenna/32/80238_2.png) [@Robert\_McIlvenna](https://forum.inductiveautomation.com/u/Robert_McIlvenna)\
**Post date:** [November 4, 2024, 10:51pm UTC](https://forum.inductiveautomation.com/t/bug-powerchart-rangestartdate-and-rangeenddate-not-working/98164/1 "2024-11-04T22:51:58Z")

</div>

In the docs for PowerChart it says:

- **rangeStartDate** : Start date for the modified chart data range that the user has selected, either with the range brush or by panning/zooming. Read-only. Value is date.
- **rangeEndDate** : End date for the modified chart data range that the user has selected either with the range brush or by panning/zooming. Read-only. Value is date.

but these values seem to only ever depend on the panning/zooming? Selecting range brushes doesn't seem to do anything, and I need these starts and ends for some scripting I'm doing. Is this a bug?

Running on an 8.1.43 Gateway

---

<div class="post-metadata">

**Author:** ![Andrew\_Martin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/andrew_martin/32/33340_2.png) [@Andrew\_Martin](https://forum.inductiveautomation.com/u/Andrew_Martin)\
**Post date:** [November 12, 2024, 3:29pm UTC](https://forum.inductiveautomation.com/t/bug-powerchart-rangestartdate-and-rangeenddate-not-working/98164/2 "2024-11-12T15:29:58Z")

</div>

By chance I happened across the same issue as you. Unfortunately I think we're out of luck in this case

> End date for the modified chart data range that the user has selected either with the range brush or by panning/zooming. Read-only. Value is date.

My guess (and it's only a guess, mind you, i'm not any sort of IA guru) is that this is completely separate from the range brush. I can see why having the range exposed somewhere would be **very** nice to have if you're working with ranges. Fortunately, I think you're in luck, it _is_ exposed! Check this out!

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/9/59a40d96da1ae3944875d9d7328969e1d45ef200.png)  
the range brush start and end values appear to be in existence!  
I don't know if they'd be write-able, but they're certainly read-able.

---

<div class="post-metadata">

**Author:** ![Robert\_McIlvenna](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robert_mcilvenna/32/80238_2.png) [@Robert\_McIlvenna](https://forum.inductiveautomation.com/u/Robert_McIlvenna)\
**Post date:** [November 12, 2024, 3:49pm UTC](https://forum.inductiveautomation.com/t/bug-powerchart-rangestartdate-and-rangeenddate-not-working/98164/3 "2024-11-12T15:49:38Z")

</div>

Thanks! Yes, I was able to sort of use this, unfortunately there doesn't seem to be a way to tell which range brush the user has selected, which is the main behavior I need that the documentation says this should do.

Actually, now that I think about it, I think it means the range selector below the power chart? That would explain why range brushes don't do anything.
