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

ChartObject.SwitchRowColumn() Method

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

Namespace: DevExpress.Spreadsheet.Charts

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

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