ChartArea.Axes Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets an array that represents all axes for a chart area.
public:
property cli::array <System::Windows::Forms::DataVisualization::Charting::Axis ^> ^ Axes { cli::array <System::Windows::Forms::DataVisualization::Charting::Axis ^> ^ get(); void set(cli::array <System::Windows::Forms::DataVisualization::Charting::Axis ^> ^ value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.DataVisualization.Charting.AxesArrayConverter))]
public System.Windows.Forms.DataVisualization.Charting.Axis[] Axes { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.DataVisualization.Charting.AxesArrayConverter))>]
member this.Axes : System.Windows.Forms.DataVisualization.Charting.Axis[] with get, set
Public Property Axes As Axis()
An array of Axis objects that represents all axes used by a chart area.
- Attributes
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.
Produkt | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET er et åben kildekode projekt. Vælg et link for at give feedback: