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

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

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).
excludeCategoryLabels
Type: SystemBoolean
if set to , category labels won't be resolved from range.
excludeSeriesNames
Type: SystemBoolean
if set to , series names won't be resolved from range.
Exceptions
ExceptionCondition
SpreadsheetExceptionParameter range is or not valid.
See Also