# Chart X axis range problem

**URL:** <https://forum.inductiveautomation.com/t/chart-x-axis-range-problem/766>\
**Category:** Archived Topics\
**Created:** [August 8, 2008, 8:30pm UTC](https://forum.inductiveautomation.com/t/chart-x-axis-range-problem/766 "2008-08-08T20:30:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlThePal](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/althepal/32/3603_2.png) [@AlThePal](https://forum.inductiveautomation.com/u/AlThePal)\
**Post date:** [August 8, 2008, 8:30pm UTC](https://forum.inductiveautomation.com/t/chart-x-axis-range-problem/766/1 "2008-08-08T20:30:20Z")

</div>

I noticed a strange error when using the Chart object. I was using it in “XY Plot” mode with numeric axes - the X axis was set from 0 to 20, and the Y axis from 0 to 30.

I then plotted 2 integer points on the chart. I found that if the upper bound of the X axis was not at least one greater than the right-hand point X value, the point would not be plotted and the line would not draw. For example if the X value of the right-hand point was 19, the upper bound would have to be at least 20. If it was 19, or 19.5 etc. the line would not appear.

This problem only seems to affect the upper bound of the X axis - the lower bound of the X and both bounds of the Y seem fine.

Can you repeat this bug?

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [August 8, 2008, 8:59pm UTC](https://forum.inductiveautomation.com/t/chart-x-axis-range-problem/766/2 "2008-08-08T20:59:17Z")

</div>

Yep, I sure can. Probably was introduced with the new graph optimization - we’ll get it fixed.
