# Perspective time series chart automatic y-axis with markers

**URL:** <https://forum.inductiveautomation.com/t/perspective-time-series-chart-automatic-y-axis-with-markers/43441>\
**Category:** Ignition\
**Created:** [February 16, 2021, 1:23am UTC](https://forum.inductiveautomation.com/t/perspective-time-series-chart-automatic-y-axis-with-markers/43441 "2021-02-16T01:23:44Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![philip](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/philip/32/5709_2.png) [@philip](https://forum.inductiveautomation.com/u/philip)\
**Post date:** [August 4, 2021, 4:33pm UTC](https://forum.inductiveautomation.com/t/perspective-time-series-chart-automatic-y-axis-with-markers/43441/3 "2021-08-04T16:33:31Z")

</div>

I manually calculate the min and max using a script and then bind the min and max values to these values. Unfortunately I ran into another issue with the min/max bindings in that the chart doesn't redraw until the mouse goes over it:

> [@Perspective Time Series Chart y-axis scale change doesn't redraw](https://forum.inductiveautomation.com/t/perspective-time-series-chart-y-axis-scale-change-doesnt-redraw/43663):
>
> If I set a binding on the min and max of an axis on a time series chart or change the min max value via a script, the chart does not update the axis until the mouse is over it. Is there a way to have the chart automatically redraw when the min / max changes or is there a python method to do this?

There is a suggestion on that post to add and remove a pen to force a redraw. I haven't tried that yet.

I'm hoping that this all gets fixed in a future update from IA.

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-time-series-chart-automatic-y-axis-with-markers/43441)._
