Spread Windows Forms 18
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Charts Namespace / IChart Interface / SetSourceData Method / SetSourceData(WorksheetReference,Nullable<RowCol>) Method
The range that contains the source data.
Specifies the way the data is to be plotted.


In This Topic
    SetSourceData(WorksheetReference,Nullable<RowCol>) Method
    In This Topic
    Sets the source data range for the chart.
    Syntax
    'Declaration
     
    
    Overloads Sub SetSourceData( _
       ByVal source As WorksheetReference, _
       Optional ByVal plotBy As Nullable(Of RowCol) _
    ) 
    'Usage
     
    
    Dim instance As IChart
    Dim source As WorksheetReference
    Dim plotBy As Nullable(Of RowCol)
     
    instance.SetSourceData(source, plotBy)

    Parameters

    source
    The range that contains the source data.
    plotBy
    Specifies the way the data is to be plotted.
    Remarks
    This function works with Spread WPF only.
    See Also