LegendItemOrder Enum

Definition

Specifies the order in which items are added to the legend.

public enum class LegendItemOrder
public enum LegendItemOrder
type LegendItemOrder = 
Public Enum LegendItemOrder
Inheritance
LegendItemOrder

Fields

Auto 0

The chart automatically determines the order in which items are added to the legend.

ReversedSeriesOrder 2

Items are added to the legend in the reverse order of items added to the chart series.

SameAsSeriesOrder 1

Items are added to the legend in the same order as items added to the chart series.

Remarks

By default, the chart determines the order in which items are added to the legend. All chart types except stacked area, stacked bar and stacked column charts will always place items in the legend in the same order as how items are ordered in the SeriesCollection. By default, stacked charts will always show items in the reversed order as how they are ordered in the series collection.

Applies to