LegendItemOrder Enumeration
TOC
Collapse the table of content
Expand the table of content

LegendItemOrder Enumeration

.NET Framework (current version)
 

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

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public enum LegendItemOrder

Member nameDescription
Auto

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

ReversedSeriesOrder

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

SameAsSeriesOrder

Items are added to the legend in the same order as 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.

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft