We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

What are the types of axis supported by chart? Do we have the option to display the axes in reverse display?

Platform: WinForms |
Control: Chart


Chart Axes has two types of basic axes.They are

1 . Primary Axis

2. Secondary Axis

Primary Axis is the default axis. Secondary Axis is which we add it programatically. Secondary Axis can be created using ChartAxis class. We can also draw the axes into opposite direction. For X axis we need to set OpposedPosition property to true. For Y axis we need to set Inversed property to true.


// Creating secondary axis

private ChartAxis secXAxis = new ChartAxis();

this.secXAxis.RangeType = ChartAxisRangeType.Auto;


this.secXAxis.OpposedPosition = true;

this.secXAxis.Range = new MinMaxInfo(0,5,1);

// To display the axes in opposite direction

this.chartControl1.PrimaryXAxis.OpposedPosition = this.checkBox1.Checked;

this.chartControl1.PrimaryYAxis.Inversed = this.checkBox1.Checked;


' Creating secondary axis

Dim secXAxis As ChartAxis = New ChartAxis()

Me.secXAxis.RangeType = ChartAxisRangeType.Auto


Me.secXAxis.OpposedPosition = true

Me.secXAxis.Range = new MinMaxInfo(0,5,1)

' To display the axes in opposite direction

Me.ChartControl1.PrimaryXAxis.OpposedPosition = Me.CheckBox1.Checked

Me.ChartControl1.PrimaryYAxis.Inversed = Me.CheckBox1.Checked

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile