Back to Devexpress

ChartObject.SecondaryAxes Property

officefileapi-devexpress-dot-spreadsheet-dot-charts-dot-chartobject-12f01500.md

latest4.2 KB
Original Source

ChartObject.SecondaryAxes Property

Provides access to a collection of secondary axes.

Namespace : DevExpress.Spreadsheet.Charts

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
AxisCollection SecondaryAxes { get; }
vb
ReadOnly Property SecondaryAxes As AxisCollection

Property Value

TypeDescription
AxisCollection

An AxisCollection object that contains secondary axes.

|

Remarks

Not all chart types can have secondary axes. A chart may have only one group of secondary axes (a group consists of a category and a value axes).

To create a secondary axes group for a specific series, set the Series.AxisGroup property to the AxisGroup.Secondary value.

The following code snippets (auto-collected from DevExpress Examples) contain references to the SecondaryAxes 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.

wpf-spreadsheet-chart-api/CS/SpreadsheetWPFChartAPISamples/CodeExamples/StyleActions.cs#L79

csharp
axis = chart.SecondaryAxes[1];
axis.Outline.SetNoFill();

winforms-spreadsheet-chart-api/CS/SpreadsheetChartAPISamples/CodeExamples/StyleActions.cs#L98

csharp
axis = chart.SecondaryAxes[1];
axis.Outline.SetNoFill();

spreadsheet-document-api-chart-examples/CS/SpreadsheetDocServerChartAPISamples/CodeExamples/StyleActions.cs#L104

csharp
axis = chart.SecondaryAxes[1];
axis.Outline.SetNoFill();

wpf-spreadsheet-chart-api/VB/SpreadsheetWPFChartAPISamples/CodeExamples/StyleActions.vb#L83

vb
axis = chart.SecondaryAxes(1)
axis.Outline.SetNoFill()

winforms-spreadsheet-chart-api/VB/SpreadsheetChartAPISamples/CodeExamples/StyleActions.vb#L82

vb
axis = chart.SecondaryAxes(1)
axis.Outline.SetNoFill()

spreadsheet-document-api-chart-examples/VB/SpreadsheetDocServerChartAPISamples/CodeExamples/StyleActions.vb#L104

vb
axis = chart.SecondaryAxes(1)
axis.Outline.SetNoFill()

See Also

ChartObject Interface

ChartObject Members

DevExpress.Spreadsheet.Charts Namespace