[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IChart.SetSourceData

SetSourceData Method

SetSourceData(IRange, RowCol)

Sets the source data range for the chart.

Declaration
void SetSourceData(IRange source, RowCol plotBy)
Sub SetSourceData(source As IRange, plotBy As RowCol)
Parameters
Type Name Description
IRange source

The range that contains the source data.

RowCol plotBy

Specifies the way the data is to be plotted. Can be either of the following RowCol constants: Columns or Rows.

SetSourceData(IRange)

Sets the source data range for the chart.

Declaration
void SetSourceData(IRange source)
Sub SetSourceData(source As IRange)
Parameters
Type Name Description
IRange source

The range that contains the source data.