Skip to main content

ChartObject.PrimaryAxes Property

Provides access to a collection of primary axes.

Namespace: DevExpress.Spreadsheet.Charts

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

AxisCollection PrimaryAxes { get; }

Property Value

Type Description
AxisCollection

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

Remarks

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the PrimaryAxes property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also