# Perspective :: Time Series Chart :: Workaround to update series while zoomed In

**URL:** <https://forum.inductiveautomation.com/t/perspective-time-series-chart-workaround-to-update-series-while-zoomed-in/36483>\
**Category:** Ignition\
**Tags:** ignition80, perspective, scripting\
**Created:** [July 8, 2020, 2:16pm UTC](https://forum.inductiveautomation.com/t/perspective-time-series-chart-workaround-to-update-series-while-zoomed-in/36483 "2020-07-08T14:16:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![valotaire.alexis](https://avatars.discourse-cdn.com/v4/letter/v/258eb7/32.png) [@valotaire.alexis](https://forum.inductiveautomation.com/u/valotaire.alexis)\
**Post date:** [July 8, 2020, 2:16pm UTC](https://forum.inductiveautomation.com/t/perspective-time-series-chart-workaround-to-update-series-while-zoomed-in/36483/1 "2020-07-08T14:16:23Z")

</div>

Hi everyone,

I'm looking for a way to update a time series chart while using the "enablePanZoom" PROPS.

I have a table with selectable devices, in the chart, it's displaying relative information to the device. I wish to be able to lock the selectable table from selection while zoomed in or just reset the zoom when another device is selected but I can't find any event related to the zoom to bind my script on.

I know that according to the documentation

> The Time Series Chart will not refresh its time range if it is zoomed in. It maintains the zoom while polling. [source](https://docs.inductiveautomation.com/display/DOC80/Perspective+-+Time+Series+Chart)

which is troublesome.

Is anyone found a workaround for this problem? Any help would be appreciated, thanks in advance 🙂

Using Perspective V8.0.11

---

<div class="post-metadata">

**Author:** ![jball](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jball/32/11128_2.png) [@jball](https://forum.inductiveautomation.com/u/jball)\
**Post date:** [July 8, 2020, 5:24pm UTC](https://forum.inductiveautomation.com/t/perspective-time-series-chart-workaround-to-update-series-while-zoomed-in/36483/2 "2020-07-08T17:24:16Z")

</div>

@valotaire.alexis, you can use the [Chart Range Selector](https://docs.inductiveautomation.com/display/DOC80/Perspective+-+Chart+Range+Selector) as a way to drive the display of the Time Series Chart. You’ll need to use the `selectedRange.start` and `selectedRange.end` values of the Chart Range Selector to drive whatever query you are using to feed data into the Time Series Chart. By doing that, you’ll be able to reduce/enhance the data displaying on the Time Series Chart without zooming the actual chart in/out.

---

<div class="post-metadata">

**Author:** ![valotaire.alexis](https://avatars.discourse-cdn.com/v4/letter/v/258eb7/32.png) [@valotaire.alexis](https://forum.inductiveautomation.com/u/valotaire.alexis)\
**Post date:** [July 9, 2020, 1:24pm UTC](https://forum.inductiveautomation.com/t/perspective-time-series-chart-workaround-to-update-series-while-zoomed-in/36483/3 "2020-07-09T13:24:25Z")

</div>

@jball Thank you for the answer, I’ll try that.

---

<div class="post-metadata">

**Author:** ![jasoncoope](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jasoncoope/32/18674_2.png) [@jasoncoope](https://forum.inductiveautomation.com/u/jasoncoope)\
**Post date:** [January 2, 2021, 6:11pm UTC](https://forum.inductiveautomation.com/t/perspective-time-series-chart-workaround-to-update-series-while-zoomed-in/36483/4 "2021-01-02T18:11:23Z")

</div>

I’m using the Chart Range Selector to move and zoom around the data in the Time Series Chart. Instead of re-querying the chart data (SQL Call) whenever the chart range selector date range changes, is there a way I can simply change the displayed date range of the Time Series Chart, in the same way as scrolling the mouse wheel? All the data is already in the chart and I just want to display a sub-set of it.

---

<div class="post-metadata">

**Author:** ![jball](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jball/32/11128_2.png) [@jball](https://forum.inductiveautomation.com/u/jball)\
**Post date:** [January 4, 2021, 8:51pm UTC](https://forum.inductiveautomation.com/t/perspective-time-series-chart-workaround-to-update-series-while-zoomed-in/36483/5 "2021-01-04T20:51:58Z")

</div>

Currently, we don’t expose a way to adjust the level/position of zoom via component properties on the Time Series Chart. That’s driven solely by user interaction (mouse wheel or pinch/zoom gestures) That Chart Range Selector is still the best option for “honing in” on data from a larger dataset.
