Partager via


Chart.PlotBy Property

Returns or sets the way columns or rows are used as data series on the chart. Read/write 64-bit signed integer.

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

Syntax

'Declaration
Property PlotBy As XlRowCol
    Get
    Set
'Usage
Dim instance As Chart
Dim value As XlRowCol

value = instance.PlotBy

instance.PlotBy = value
XlRowCol PlotBy { get; set; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.XlRowCol

Remarks

The value of this property can be one of the following XlRowCol constants: xlColumns or xlRows.

For PivotChart reports, this property is read-only and always returns xlColumns.

See Also

Reference

Chart Interface

Chart Members

Microsoft.Office.Interop.PowerPoint Namespace