Export (0) Print
Expand All
Expand Minimize

AxisName Enumeration

Specifies the name of an axis.

Namespace:  System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public enum AxisName

Member nameDescription
XPrimary X-axis.
X2Secondary X-axis.
YPrimary Y-axis.
Y2Secondary Y-axis.

The AxisName enumeration represents the four different axes that can be used for a chart.

Bar and stacked bar charts have their axes rotated 90 degrees clockwise. For example, the primary X-axis for these two charts is the left-vertical axis.

For all charts except bar, stacked bar, pie and doughnut charts, the primary and secondary axes are as follows:

Axis Type

Description

Primary X-Axis

Bottom horizontal axis.

Secondary X-Axis

Top horizontal axis.

Primary Y-Axis

Left vertical axis.

Secondary Y-Axis

Right vertical axis.

Bar and stacked bar charts have their axes rotated 90 degrees clockwise. For example, the primary X-axis for these two charts is the left-vertical axis.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft