This documentation is archived and is not being maintained.

ChartArea::Axes Property

Gets or sets an array that represents all axes for a chart area.

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

[BindableAttribute(true)]
public:
property array<Axis^>^ Axes {
	array<Axis^>^ get ();
	void set (array<Axis^>^ value);
}

Property Value

Type: array<System.Web.UI.DataVisualization.Charting::Axis>
An array of Axis objects that represents all axes used by a chart area.

The main purpose of this property is to provide access to the properties of the X, Y, X2 and Y2 axes at design time.

At run time, the axes for a chart area should be accessed using the individual axis properties, such as AxisX, AxisX2, and so forth.

If you decide to use this property at run time—for example, in an event—you can access an item in this array by specifying an AxisName enumeration member as the identifier.

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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