# Bar chart

**URL:** <https://forum.inductiveautomation.com/t/bar-chart/6805>\
**Category:** Ignition\
**Created:** [July 2, 2013, 2:08pm UTC](https://forum.inductiveautomation.com/t/bar-chart/6805 "2013-07-02T14:08:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AJBerera](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@AJBerera](https://forum.inductiveautomation.com/u/AJBerera)\
**Post date:** [July 2, 2013, 2:08pm UTC](https://forum.inductiveautomation.com/t/bar-chart/6805/1 "2013-07-02T14:08:35Z")

</div>

Is there any way to keep my y axis auto ranged but only keep integer scaling?  
I am showing counts and do not need fractional values displayed.

---

<div class="post-metadata">

**Author:** ![Ron.Lor](https://avatars.discourse-cdn.com/v4/letter/r/f17d59/32.png) [@Ron.Lor](https://forum.inductiveautomation.com/u/Ron.Lor)\
**Post date:** [August 9, 2013, 10:56pm UTC](https://forum.inductiveautomation.com/t/bar-chart/6805/2 "2013-08-09T22:56:58Z")

</div>

One way to achieve this would be to find out the max value in your dataset in a property change script and then set that value to a custom property. You would then need to round that number to the nearest factor of 5 and bind that to your max value, which would give you no decimal numbers. You can’t do this if you keep your y-axis auto-ranged.
