# Easy chart Upper bound Auto, lower bound fixed to 0

**URL:** <https://forum.inductiveautomation.com/t/easy-chart-upper-bound-auto-lower-bound-fixed-to-0/93992>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [July 31, 2024, 4:32pm UTC](https://forum.inductiveautomation.com/t/easy-chart-upper-bound-auto-lower-bound-fixed-to-0/93992 "2024-07-31T16:32:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miguel\_Gomez](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@Miguel\_Gomez](https://forum.inductiveautomation.com/u/Miguel_Gomez)\
**Post date:** [July 31, 2024, 4:32pm UTC](https://forum.inductiveautomation.com/t/easy-chart-upper-bound-auto-lower-bound-fixed-to-0/93992/1 "2024-07-31T16:32:05Z")

</div>

Hello Everyone,

Need your help, I have an easy chart with 6 different pens. In the data base are negative numbers but our customer don't want to see that numbers.

Ignition is not letting me set the lower bound in 0 and the upper in auto.

I have tried to set the lower bound with 0 and bound the upper with scripts and queries but when I'm trying to get the max value of each pen is getting complicated with the queries and they will need more pens in the future.

Is there a way to do this? Fix the Y lower bound in 0 and the Y upper in auto?

Thank you

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [July 31, 2024, 5:48pm UTC](https://forum.inductiveautomation.com/t/easy-chart-upper-bound-auto-lower-bound-fixed-to-0/93992/2 "2024-07-31T17:48:19Z")

</div>

Would you consider doing it in the SQL query by returning zero for negative values?  
If so,

- What SQL engine are you using.
- Show your query. (See [https://forum.inductiveautomation.com/t/wiki-how-to-post-code-on-this-forum/77831.](https://forum.inductiveautomation.com/t/wiki-how-to-post-code-on-this-forum/77831.))

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [July 31, 2024, 5:49pm UTC](https://forum.inductiveautomation.com/t/easy-chart-upper-bound-auto-lower-bound-fixed-to-0/93992/3 "2024-07-31T17:49:47Z")

</div>

In the axes dataset, create an axis with the auto range column set to False and the lower bound set to zero. Then, use the name given to that axis in the axis column of the tagpens dataset for all six pens.

---

<div class="post-metadata">

**Author:** ![Miguel\_Gomez](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@Miguel\_Gomez](https://forum.inductiveautomation.com/u/Miguel_Gomez)\
**Post date:** [August 26, 2024, 10:05pm UTC](https://forum.inductiveautomation.com/t/easy-chart-upper-bound-auto-lower-bound-fixed-to-0/93992/4 "2024-08-26T22:05:00Z")

</div>

The customer just wanted to not see that negative numbers and not spend too much time fixing that so I just did a condition to not save the negative numbers in the data base, so he will not see negatives from that day and everything was ok.

Thank you all
