Partager via


Chart.SetSourceData Method

Sets the source data range for the chart.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Sub SetSourceData ( _
    Source As String, _
    PlotBy As Object _
)
'Usage
Dim instance As Chart
Dim Source As String
Dim PlotBy As Object

instance.SetSourceData(Source, PlotBy)
void SetSourceData(
    string Source,
    Object PlotBy
)

Parameters

  • Source
    Type: System.String
    The address of the chart data range that contains the source data.

See Also

Reference

Chart Interface

Chart Members

Microsoft.Office.Interop.PowerPoint Namespace