Axis Constructors

Definition

Initializes a new instance of the Axis class.

Overloads

Axis()

Initializes a new instance of the Axis class.

Axis(ChartArea, AxisName)

Initializes a new instance of the Axis class with the specified chartArea and axisTypeName values.

Axis()

Initializes a new instance of the Axis class.

C#
public Axis();

Applies to

.NET Framework 4.8.1 and other versions
Product 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

Axis(ChartArea, AxisName)

Initializes a new instance of the Axis class with the specified chartArea and axisTypeName values.

C#
public Axis(System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea, System.Windows.Forms.DataVisualization.Charting.AxisName axisTypeName);

Parameters

chartArea
ChartArea

The chart area.

axisTypeName
AxisName

The axis name.

Applies to

.NET Framework 4.8.1 and other versions
Product 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