Legend::LegendItemOrder Property
.NET Framework (current version)
Gets or sets a value 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.
Assembly: System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)
public: property LegendItemOrder LegendItemOrder { LegendItemOrder get(); void set(LegendItemOrder value); }
Property Value
Type: System.Windows.Forms.DataVisualization.Charting::LegendItemOrderA 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
Available since 4.0
Show: