[]
        
(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)
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)
Parameters
Type Name Description
IRange source

The range that contains the source data.