Click or drag to resize
ExcelChartSelectData Method (CellRange, Boolean)
Selects the data for the chart.

Namespace:  GemBox.Spreadsheet.Charts
Assembly:  GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 41.3.30.1018
Syntax
public void SelectData(
	CellRange range,
	bool switchRowColumn
)

Parameters

range
Type: GemBox.SpreadsheetCellRange
The cell range which contains data for the chart.
switchRowColumn
Type: SystemBoolean
if set to category labels will be in first column (not row), series names will be in first row (not column) and series values will be in columns (not rows).
Exceptions
ExceptionCondition
SpreadsheetExceptionParameter range is or not valid.
See Also