Edytuj

Udostępnij za pośrednictwem


ChartArea.Axes Property

Definition

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

public:
 property cli::array <System::Web::UI::DataVisualization::Charting::Axis ^> ^ Axes { cli::array <System::Web::UI::DataVisualization::Charting::Axis ^> ^ get(); void set(cli::array <System::Web::UI::DataVisualization::Charting::Axis ^> ^ value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Web.UI.DataVisualization.Charting.AxesArrayConverter))]
public System.Web.UI.DataVisualization.Charting.Axis[] Axes { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Web.UI.DataVisualization.Charting.AxesArrayConverter))>]
member this.Axes : System.Web.UI.DataVisualization.Charting.Axis[] with get, set
Public Property Axes As Axis()

Property Value

Axis[]

An array of Axis objects that represents all axes used by a chart area.

Attributes

Remarks

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.

Applies to