Category / Section
How to set minimum and maximum values for OLAP Chart Axis?
1 min read
To set minimum and maximum values for OLAP Chart Axis manually using the following code examples.
C#
this.olapChart1.PrimaryYAxis.RangeType = Syncfusion.Windows.Forms.Chart.ChartAxisRangeType.Set; this.olapChart1.PrimaryYAxis.Range = new Syncfusion.Windows.Forms.Chart.MinMaxInfo(0, 8000000, 2000000); // To change the Min, Max and Interval values.
VB
Me.olapChart1.PrimaryYAxis.RangeType = Syncfusion.Windows.Forms.Chart.ChartAxisRangeType.[Set]Me.olapChart1.PrimaryYAxis.Range = New Syncfusion.Windows.Forms.Chart.MinMaxInfo(0, 8000000, 2000000)' To change the Min, Max and Interval values.