Skip to main content

ChartObject.SwitchRowColumn() Method

Switches rows to columns in the chart data, plotting them on different axes.

Namespace: DevExpress.Spreadsheet.Charts

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

void SwitchRowColumn()

Remarks

Consider the data range that looks as follows.

SelectDataExample_Range

Data is plotted by rows (default), as shown in the picture below.

SelectDataExample_ChartByRow

Call the SwitchRowColumn method.

Data is plotted by columns, as illustrated in the following picture.

SelectDataExample_ChartByColumn

See Also