I'm displaying integer values in a XamChart, but sometimes the chart is showing non-integer increments on the Y axis. Is there a way to force the XamChart to show the labels and horizontal lines only at integer increments?
In this picture, the first bar has a value of 1 and the second has a value of 2, yet the chart is showing labels at bizarre decimal intervals.
If you manually range the axis you can achieve this. If you turn off auto range on the y axis, and set the minimum and maximum and unit to be integer values then the labels should have integer value. The auto range feature does not support a mode where it automatically tries to preserve the integral nature of the labels, however. You could make a feature request if this is important functionality to you.
Hope this helps!
-Graham