_Chart.PlotBy Property

Returns or sets the way columns or rows are used as data series on the chart. Can be one of the following XlRowCol constants: xlColumns or xlRows. For PivotChart reports, this property is read-only and always returns xlColumns.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.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.Excel.XlRowCol

See Also

Reference

_Chart Interface

_Chart Members

Microsoft.Office.Interop.Excel Namespace