# EasyChart Auto rnage Margin

**URL:** <https://forum.inductiveautomation.com/t/easychart-auto-rnage-margin/98449>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [November 11, 2024, 12:52am UTC](https://forum.inductiveautomation.com/t/easychart-auto-rnage-margin/98449 "2024-11-11T00:52:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kyungjun\_kim](https://avatars.discourse-cdn.com/v4/letter/k/9de053/32.png) [@kyungjun\_kim](https://forum.inductiveautomation.com/u/kyungjun_kim)\
**Post date:** [November 11, 2024, 12:52am UTC](https://forum.inductiveautomation.com/t/easychart-auto-rnage-margin/98449/1 "2024-11-11T00:52:11Z")

</div>

Hello,  
I’m currently displaying data in EasyChart by setting the tag path in the "Cell Update" field of "TAG\_PATH" under Tag Pens when I open the popup window through indirect tagging. However, when using Auto Range, if the data value is 0, it shows as 0 without any margin. I’d like to set the Auto Range to display a margin of around ±10. Is there a way to achieve this?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 11, 2024, 12:42pm UTC](https://forum.inductiveautomation.com/t/easychart-auto-rnage-margin/98449/2 "2024-11-11T12:42:31Z")

</div>

Not with auto-range, no, as margin is a % of range. If max-min is zero, then any percent of that will also be zero.

You would need to dive in the JFreeChart objects exposed in the `configureChart` method to check for this situation and replace the axis with an alternate.
