AD
Administrator
Syncfusion Team
December 5, 2006 12:26 AM UTC
Hi Navaneeth,
Chart Axis range can be set manually by setting RangeType property to 'Set'.
The following code will help you.
this.chartControl1.PrimaryXAxis.RangeType = ChartAxisRangeType.Set;
this.chartControl1.PrimaryYAxis.RangeType = ChartAxisRangeType.Set;
this.chartControl1.PrimaryXAxis.Range = new MinMaxInfo(0, 10, 1);
this.chartControl1.PrimaryYAxis.Range = new MinMaxInfo(0, 100, 10);
Let me know if this helps.
Thanks for using Syncfusion products.
Regards,
Sureshbabu