[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.Charts.IChart.SetSourceData

SetSourceData Method

SetSourceData(IRange, RowCol?)

Sets the source data range for the chart.

Declaration
void SetSourceData(IRange source, RowCol? plotBy = null)
Sub SetSourceData(source As IRange, Optional plotBy As RowCol? = Nothing)
Parameters
Type Name Description
IRange source

The range that contains the source data.

RowCol? plotBy

Specifies the way the data is to be plotted.

Remarks

This function works with Spread WPF only.

SetSourceData(string, RowCol?)

Sets the source data range for the chart.

Declaration
void SetSourceData(string source, RowCol? plotBy = null)
Sub SetSourceData(source As String, Optional plotBy As RowCol? = Nothing)
Parameters
Type Name Description
string source

The range that contains the source data.

RowCol? plotBy

Specifies the way the data is to be plotted.

Remarks

This function works with Spread WPF only.

SetSourceData(WorksheetReference, RowCol?)

Sets the source data range for the chart.

Declaration
void SetSourceData(WorksheetReference source, RowCol? plotBy = null)
Sub SetSourceData(source As WorksheetReference, Optional plotBy As RowCol? = Nothing)
Parameters
Type Name Description
WorksheetReference source

The range that contains the source data.

RowCol? plotBy

Specifies the way the data is to be plotted.

Remarks

This function works with Spread WPF only.