# \[FEATURE-14698\] Automatic min/max on defined axis in Time Series Chart

**URL:** <https://forum.inductiveautomation.com/t/feature-14698-automatic-min-max-on-defined-axis-in-time-series-chart/26960>\
**Category:** Ignition Early Access\
**Tags:** perspective\
**Created:** [July 29, 2019, 5:43pm UTC](https://forum.inductiveautomation.com/t/feature-14698-automatic-min-max-on-defined-axis-in-time-series-chart/26960 "2019-07-29T17:43:01Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![md.szyman](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/md.szyman/32/9240_2.png) [@md.szyman](https://forum.inductiveautomation.com/u/md.szyman)\
**Post date:** [July 29, 2019, 5:43pm UTC](https://forum.inductiveautomation.com/t/feature-14698-automatic-min-max-on-defined-axis-in-time-series-chart/26960/1 "2019-07-29T17:43:01Z")

</div>

In the new Time Series Chart, when no axes are defined, the data uses auto-generated axes that have dynamic min/max values. This is great except for when I want to define an axis, suddenly I lose this dynamic min/max value feature. I got around this by simply defining a binding that takes the max of my data set and adds a padding value to it and using that for the axis’ max value, but having the feature built into the chart just like it already is for the automatic axis creation would be really useful.

---

<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:** [August 8, 2019, 5:35pm UTC](https://forum.inductiveautomation.com/t/feature-14698-automatic-min-max-on-defined-axis-in-time-series-chart/26960/2 "2019-08-08T17:35:32Z")

</div>

Hi @md.szyman, we can add an “auto generate” option that can be toggled for the creation of the min/max values on axis. The `axes` config for each of the trends is meant to be a way to have full control over the data/display for any axis built there (including having hard min/max boundaries). That said; this convenience would be pretty handy, as you mentioned.

---

<div class="post-metadata">

**Author:** ![md.szyman](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/md.szyman/32/9240_2.png) [@md.szyman](https://forum.inductiveautomation.com/u/md.szyman)\
**Post date:** [August 8, 2019, 5:55pm UTC](https://forum.inductiveautomation.com/t/feature-14698-automatic-min-max-on-defined-axis-in-time-series-chart/26960/3 "2019-08-08T17:55:06Z")

</div>

The reason I want to have this is so that I can combine multiple series’ on one axis instead of having four separate ones, and having the min/max be generated automatically.

---

<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:** [August 8, 2019, 8:19pm UTC](https://forum.inductiveautomation.com/t/feature-14698-automatic-min-max-on-defined-axis-in-time-series-chart/26960/4 "2019-08-08T20:19:43Z")

</div>

Combining multiple series on a single axis is currently doable by having multiple `trends` within the same `plot`. If the trends exist in the same plot, they will be overlaid instead of stacked. Each of those trends can point to a different `series`, and also pointed to the same axis so that only a singe axis is visible. This gives the ability to tie multiple series to a single axis.

I imagine that is what you’re doing to get the right look, but you’re asking for the ability to have the axis be auto-generated based on the series that are bound to it?

---

<div class="post-metadata">

**Author:** ![md.szyman](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/md.szyman/32/9240_2.png) [@md.szyman](https://forum.inductiveautomation.com/u/md.szyman)\
**Post date:** [August 9, 2019, 11:55am UTC](https://forum.inductiveautomation.com/t/feature-14698-automatic-min-max-on-defined-axis-in-time-series-chart/26960/5 "2019-08-09T11:55:59Z")

</div>

Right yes. By “four separate ones” I meant four separate axes but the four series are on the same plot. When putting multiple series on one plot, it generates four separate axes unless you assign one.

But yes, this is what I want, auto generated based on the multiple series that are bound to it, but displaying as a single axis.

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [August 9, 2019, 12:16pm UTC](https://forum.inductiveautomation.com/t/feature-14698-automatic-min-max-on-defined-axis-in-time-series-chart/26960/6 "2019-08-09T12:16:36Z")

</div>

I know I’m trying to wrap my head around this before coffee, but do you want the min/max of all four together, or for each one separately? I read it as the first one, but I need that extra bit of clarity. 🙂

---

<div class="post-metadata">

**Author:** ![md.szyman](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/md.szyman/32/9240_2.png) [@md.szyman](https://forum.inductiveautomation.com/u/md.szyman)\
**Post date:** [August 9, 2019, 12:17pm UTC](https://forum.inductiveautomation.com/t/feature-14698-automatic-min-max-on-defined-axis-in-time-series-chart/26960/7 "2019-08-09T12:17:54Z")

</div>

All together.

I have four series on the same plot, all sharing an axis, so I want the axis to re-scale based on the min/max across all four of the series.

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [August 9, 2019, 12:21pm UTC](https://forum.inductiveautomation.com/t/feature-14698-automatic-min-max-on-defined-axis-in-time-series-chart/26960/8 "2019-08-09T12:21:42Z")

</div>

Thanks, Mark. I haven’t played around with the Time Series Chart much, yet, but if I get a bit of time today, I’ll see if I can get a workaround put together.

---

<div class="post-metadata">

**Author:** ![md.szyman](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/md.szyman/32/9240_2.png) [@md.szyman](https://forum.inductiveautomation.com/u/md.szyman)\
**Post date:** [August 9, 2019, 12:23pm UTC](https://forum.inductiveautomation.com/t/feature-14698-automatic-min-max-on-defined-axis-in-time-series-chart/26960/9 "2019-08-09T12:23:24Z")

</div>

I currently do have a workaround. I have max (my min is 0) bound to the data property, and then a script transform figures out the maximum value in that dataset, and then adds a percentage for some padding.

It works quite well, but would be nice to have this functionality baked in.

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [August 9, 2019, 12:24pm UTC](https://forum.inductiveautomation.com/t/feature-14698-automatic-min-max-on-defined-axis-in-time-series-chart/26960/10 "2019-08-09T12:24:46Z")

</div>

Ah. Ok then. I guess I’ll just have to do paperwork all day. Heh.

---

<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:** [August 9, 2019, 4:10pm UTC](https://forum.inductiveautomation.com/t/feature-14698-automatic-min-max-on-defined-axis-in-time-series-chart/26960/11 "2019-08-09T16:10:25Z")

</div>

Gotcha; sounds good. I will log a feature request.

---

<div class="post-metadata">

**Author:** ![acasey](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@acasey](https://forum.inductiveautomation.com/u/acasey)\
**Post date:** [July 15, 2020, 10:09pm UTC](https://forum.inductiveautomation.com/t/feature-14698-automatic-min-max-on-defined-axis-in-time-series-chart/26960/12 "2020-07-15T22:09:39Z")

</div>

Has this request been met? I do not have a work around for it currently.

---

<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 16, 2020, 4:27pm UTC](https://forum.inductiveautomation.com/t/feature-14698-automatic-min-max-on-defined-axis-in-time-series-chart/26960/13 "2020-07-16T16:27:37Z")

</div>

@acasey, this went out in 8.0.12, I believe.

---

<div class="post-metadata">

**Author:** ![acasey](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@acasey](https://forum.inductiveautomation.com/u/acasey)\
**Post date:** [August 3, 2020, 6:39pm UTC](https://forum.inductiveautomation.com/t/feature-14698-automatic-min-max-on-defined-axis-in-time-series-chart/26960/14 "2020-08-03T18:39:31Z")

</div>

@jball I can’t seem to find the auto size. Would you be able to explain this further? I’m using 8.0.14

---

<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:** [August 12, 2020, 4:11pm UTC](https://forum.inductiveautomation.com/t/feature-14698-automatic-min-max-on-defined-axis-in-time-series-chart/26960/15 "2020-08-12T16:11:57Z")

</div>

@acasey, This just happens automatically if you haven’t specified a `plot` and `trends`/`axes`. Additionally, if you have specified a `plot` and `trends`/`axes`, you would need to enter values for the `min` and `max` properties of the axis to lock it down to a range that you would like displayed. If those values aren’t entered (the default configuration), that axis will be built using the upper and lower ends of the trend data to which it is bound.
