Legend.LegendItemOrder Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Available since 4.0
Return to top
Show: