_Chart.SetSourceData Method
Office 2010
Sets the source data range for the chart.
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
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.