Export (0) Print
Expand All

Legend.LegendItemOrder Property

.NET Framework 4.6 and 4.5

Gets or sets a flag that specifies the order in which legend items are displayed. This property only affects legend items automatically added for the chart series; it has no effect on custom legend items.

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

public LegendItemOrder LegendItemOrder { get; set; }

Property Value

Type: System.Web.UI.DataVisualization.Charting.LegendItemOrder
A LegendItemOrder enumeration value that specifies the order in which legend items are displayed.

If the LegendItemOrder property is set to Auto, the legend will automatically be reversed if StackedColumn, StackedColumn100, StackedArea or StackedArea100 chart types are used.

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft