Modifica

Condividi tramite


_Chart.SetSourceData(Range, Object) Method

Definition

Sets the source data range for the chart.

public void SetSourceData (Microsoft.Office.Interop.Excel.Range Source, object PlotBy);
Public Sub SetSourceData (Source As Range, Optional PlotBy As Object)

Parameters

Source
Range

Required Range. The range that contains the source data.

PlotBy
Object

Optional Object. Specifies the way the data is to be plotted. Can be either of the following XlRowCol constants: xlColumns or xlRows.

Applies to