Click or drag to resize
ExcelChartSelectData Method (String, Boolean, 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(
	string range,
	bool switchRowColumn,
	bool excludeCategoryLabels
)

Parameters

range
Type: SystemString
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).
excludeCategoryLabels
Type: SystemBoolean
if set to , category labels won't be resolved from range.
Exceptions
ExceptionCondition
SpreadsheetExceptionEither chart is in invalid state or range parameter is not valid.
See Also