Partager via


Series.PlotOrder Property

Returns or sets the plot order for the selected series within the chart group. Read/write Integer.

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

Syntax

'Declaration
Property PlotOrder As Integer
    Get
    Set
'Usage
Dim instance As Series
Dim value As Integer

value = instance.PlotOrder

instance.PlotOrder = value
int PlotOrder { get; set; }

Property Value

Type: System.Int32

Remarks

You can set plot order only within a chart group (you cannot set the plot order for the entire chart if you have more than one chart type). A chart group is a collection of series with the same chart type.

Changing the plot order of one series will cause the plot orders of the other series in the chart group to be adjusted as necessary.

See Also

Reference

Series Interface

Series Members

Microsoft.Office.Interop.Excel Namespace