Series.PlotOrder property (Excel)

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

Syntax

expression.PlotOrder

expression A variable that represents a Series object.

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.

Example

This example makes series two on Chart1 appear third in the plot order. The example should be run on a 2D column chart that contains three or more series.

Charts("Chart1").ChartGroups(1).SeriesCollection(2).PlotOrder = 3

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.