# 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:** 3\
**Page:** 1

<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:** [February 16, 2021, 1:23am UTC](https://forum.inductiveautomation.com/t/perspective-time-series-chart-automatic-y-axis-with-markers/43441/1 "2021-02-16T01:23:44Z")

</div>

Is there a way to have the time series chart include line markers in the automatic range for the y-axis?

I have some limit markers that we want to be visible on the chart.

---

<div class="post-metadata">

**Author:** ![tohhy-pm17](https://avatars.discourse-cdn.com/v4/letter/t/e19adc/32.png) [@tohhy-pm17](https://forum.inductiveautomation.com/u/tohhy-pm17)\
**Post date:** [August 4, 2021, 6:03am UTC](https://forum.inductiveautomation.com/t/perspective-time-series-chart-automatic-y-axis-with-markers/43441/2 "2021-08-04T06:03:33Z")

</div>

Hi @philip, may I know how you solve this problems ?

---

<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.
