Back to Devexpress

ChartObject.SwitchRowColumn() Method

officefileapi-devexpress-dot-spreadsheet-dot-charts-dot-chartobject-e2d300ff.md

latest1.4 KB
Original Source

ChartObject.SwitchRowColumn() Method

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

Namespace : DevExpress.Spreadsheet.Charts

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
void SwitchRowColumn()
vb
Sub SwitchRowColumn

Remarks

Consider the data range that looks as follows.

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

Call the SwitchRowColumn method.

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

See Also

ChartObject Interface

ChartObject Members

DevExpress.Spreadsheet.Charts Namespace