LegendItemOrder Enum
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
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. |
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.
Product | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: