LegendItemOrder Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the order in which items are added to the legend.
public enum class LegendItemOrder
public enum LegendItemOrder
type LegendItemOrder =
Public Enum LegendItemOrder
- Inheritance
Fields
Name | Value | Description |
---|---|---|
Auto | 0 | The chart automatically determines the order in which items are added to the legend. |
SameAsSeriesOrder | 1 | Items are added to the legend in the same order as items added to the chart series. |
ReversedSeriesOrder | 2 | Items are added to the legend in the reverse order of 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
.NET