Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SetSourceData method

_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.

Show:
© 2015 Microsoft