Bewerken

Delen via


Legend.LegendItemOrder Property

Definition

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.

public:
 property System::Windows::Forms::DataVisualization::Charting::LegendItemOrder LegendItemOrder { System::Windows::Forms::DataVisualization::Charting::LegendItemOrder get(); void set(System::Windows::Forms::DataVisualization::Charting::LegendItemOrder value); };
public System.Windows.Forms.DataVisualization.Charting.LegendItemOrder LegendItemOrder { get; set; }
member this.LegendItemOrder : System.Windows.Forms.DataVisualization.Charting.LegendItemOrder with get, set
Public Property LegendItemOrder As LegendItemOrder

Property Value

A LegendItemOrder enumeration value that specifies the order in which legend items are displayed.

Remarks

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

Applies to