SpreadsheetGear 2023
SetSourceData Method (IChart)


SpreadsheetGear.Charts Namespace > IChart Interface : SetSourceData Method
Set the data range for the chart.
Syntax
'Declaration
 
Sub SetSourceData( _
   ByVal source As IRange, _
   ByVal plotBy As RowCol _
) 
'Usage
 
Dim instance As IChart
Dim source As IRange
Dim plotBy As RowCol
 
instance.SetSourceData(source, plotBy)
void SetSourceData( 
   IRange source,
   RowCol plotBy
)

Parameters

source
plotBy
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IChart Interface
IChart Members