Is there any way to restrict the XamChart's axis units to whole numbers (eg. 1,2,3,4)? I have discrete data and it does not make much sense to have the grid lines marked at decimal numbers (eg 0.3, 0.6, 0.9, 1.2).
Sure, I can manually set the maximum and units but these will change depending on the data fed into the grid and I do not want to calculate the units myself.
sorry, but there is no way to force the axis intervals to land on all integer values. the chart tries to pick the best min/max/interval based on your data, and if that isn't the desired behavior, the only fix is to set the Unit, Minimum, and Maximum properties.
Is there any way to include an option in a future release to only use discreet values for the Unit, Min and Max values on an axis? I've come across this problem as well, where I will only ever have discreet values in my charts, but often with small values, the intervals use decimals.
I have a work around where I set the Unit but leave the Autorange enabled, but this only works on low values, and it would be a good feature to have the Unit value set to auto but only discreet value if possible?
sure, it's possible for the future. you can submit a feature request here: http://devcenter.infragistics.com/protected/requestfeature.aspx