# Reset Zoom Level on Time-Series Chart (Perspective)

**URL:** <https://forum.inductiveautomation.com/t/reset-zoom-level-on-time-series-chart-perspective/32321>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [February 16, 2020, 9:46pm UTC](https://forum.inductiveautomation.com/t/reset-zoom-level-on-time-series-chart-perspective/32321 "2020-02-16T21:46:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaspinall](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jaspinall](https://forum.inductiveautomation.com/u/jaspinall)\
**Post date:** [February 16, 2020, 9:46pm UTC](https://forum.inductiveautomation.com/t/reset-zoom-level-on-time-series-chart-perspective/32321/1 "2020-02-16T21:46:21Z")

</div>

Hi There,

Is it possible to reset the zoom-level to 1 on a time-series chart? I know there is the bottom shown in the screenshot that accomplishes this, but is there anyway to call this functionality via script/function?

![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/d/dbcae010c5bd7957ef33e48ced48d16cb8e4260d.png)

Thank You

---

<div class="post-metadata">

**Author:** ![jaspinall](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jaspinall](https://forum.inductiveautomation.com/u/jaspinall)\
**Post date:** [February 16, 2020, 11:27pm UTC](https://forum.inductiveautomation.com/t/reset-zoom-level-on-time-series-chart-perspective/32321/2 "2020-02-16T23:27:15Z")

</div>

Just to follow up on this - is there anyway to have access to the zoom level property?

---

<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:** [February 18, 2020, 5:12pm UTC](https://forum.inductiveautomation.com/t/reset-zoom-level-on-time-series-chart-perspective/32321/3 "2020-02-18T17:12:59Z")

</div>

Hi @jaspinall, because the “zoom” action is only accomplished via mouse/touch user actions, we don’t provide programmatic ways to interact with it. It would require a corresponding mouse/touch user action to get back to the default zoom level.

---

<div class="post-metadata">

**Author:** ![jaspinall](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jaspinall](https://forum.inductiveautomation.com/u/jaspinall)\
**Post date:** [February 18, 2020, 5:14pm UTC](https://forum.inductiveautomation.com/t/reset-zoom-level-on-time-series-chart-perspective/32321/4 "2020-02-18T17:14:26Z")

</div>

Thanks @jball - that makes sense.

---

<div class="post-metadata">

**Author:** ![joe.hammond](https://avatars.discourse-cdn.com/v4/letter/j/e9c0ed/32.png) [@joe.hammond](https://forum.inductiveautomation.com/u/joe.hammond)\
**Post date:** [July 2, 2021, 7:21pm UTC](https://forum.inductiveautomation.com/t/reset-zoom-level-on-time-series-chart-perspective/32321/5 "2021-07-02T19:21:26Z")

</div>

I have the same request. My position is around usability. So a user has zoomed in and completes the analysis on a line then changes the time frame. The time updates but the line doesn’t, creating a mismatch of values displayed. This leads the user in to misinformation. Sure the zoom out icon is displayed on the line image but its not obvious to the user. In many cases, the line may not be that different and it not being updated isn’t completely obvious. Not being able to script the change to the new line is a poor practice and poor usability. If we don’t reset the line to correct expected value then at least we should let the user know to be asked to do so. The below example is a line data for a current day but displayed date is previous day.

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

Once the user recognizes the error and knows to hit the Zoom out icon. The below is displayed and corrected.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/f/cf9aa0f2269b47569f183af9c32936fd4a2d8c1c.png)

---

<div class="post-metadata">

**Author:** ![NII](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nii/32/12920_2.png) [@NII](https://forum.inductiveautomation.com/u/NII)\
**Post date:** [June 20, 2022, 12:30am UTC](https://forum.inductiveautomation.com/t/reset-zoom-level-on-time-series-chart-perspective/32321/6 "2022-06-20T00:30:59Z")

</div>

I have same situation.
