Export (0) Print
Expand All
Expand Minimize

AxisType Enumeration

Specifies the axis type for the X and Y-axes of a Series.

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public enum AxisType

Member nameDescription
PrimaryDesignates an axis as the primary axis.
SecondaryDesignates an axis as the secondary axis.

The AxisType enumeration represents the axis type used for the X and Y-axes of a Series.

A Series is plotted using two axes, with the exception of pie and doughnut charts. This enumeration is used in conjunction with the XAxisType and YAxisType properties to set the axes used for plotting the associated data points of the Series.

For all charts except for bar, stacked bar, pie and doughnut types, 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.3, 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