Share via


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. Read/write.

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

Remarks

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

See Also

Reference

Chart Interface

Chart Members

Microsoft.Office.Interop.Word Namespace