Thank you for your reply, Jaya.
Changing the PrimaryXAxis.Format property appears to achieve the behavior I wanted.
I wasn''t able to properly run your example - I receive a "Object reference not set to an instance of an object." when attempting to zoom. But my issue has been resolved.
Best regards.
>
Hi BenT,
Thank you for choosing Syncfusion products.
It is possible to set the integer values for an Axis while Zooming using RoundingPlaces and Format property of an Axis. The following code illustrate this :
this.chartControl1.PrimaryYAxis.RoundingPlaces=0;
this.chartControl1.PrimaryXAxis.Format="###";
But I was not able to reproduce the divide-by-zero exception when setting RoundingPlaces to zero.
Please try the attached sample which helps you to display the Axis values in integers after zooming.
Kindly let me know if this helps.
Regards,
Jaya
ChartDataBindingSample.zip