編輯

共用方式為


Legend.LegendItemOrder Property

Definition

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.

public:
 property System::Web::UI::DataVisualization::Charting::LegendItemOrder LegendItemOrder { System::Web::UI::DataVisualization::Charting::LegendItemOrder get(); void set(System::Web::UI::DataVisualization::Charting::LegendItemOrder value); };
public System.Web.UI.DataVisualization.Charting.LegendItemOrder LegendItemOrder { get; set; }
member this.LegendItemOrder : System.Web.UI.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