.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

ChartObject.PrimaryAxes Property

Provides access to a collection of primary axes.

Namespace: DevExpress.Spreadsheet.Charts

Assembly: DevExpress.Spreadsheet.v21.1.Core.dll


AxisCollection PrimaryAxes { get; }

Property Value

Type Description

An AxisCollection object containing primary axes on the chart or null (Nothing in Visual Basic) if there are no primary axes.


Charts of different types may have a different number of primary axes. For example, a chart of the ChartType.Pie has no axes. A chart of the ChartType.ColumnClustered type contains two primary axes - the category axis and the value axis. A chart of the ChartType.Column3DStandard type has three axes - the category axis, the value axis and the series axis. However, a chart may have only one group of primary axes (a group consists of a category, a value and (only for certain 3D chart types) a series axis).

A chart may have a collection of ChartObject.SecondaryAxes in addition to primary axes.

See Also