Export (0) Print
Expand All
Expand Minimize

_Chart.SetSourceData Method

Sets the source data range for the chart.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

void SetSourceData(
	Range Source,
	Object PlotBy
)

Parameters

Source
Type: Microsoft.Office.Interop.Excel.Range
Required Range. The range that contains the source data.
PlotBy
Type: System.Object
Optional Object. Specifies the way the data is to be plotted. Can be either of the following XlRowCol constants: xlColumns or xlRows.

Community Additions

ADD
Show:
© 2014 Microsoft