Edit

Bagikan melalui


Chart.Legends Property

Definition

Gets or sets a LegendCollection object that is used to store all Legend objects used by the Chart control.

public:
 property System::Web::UI::DataVisualization::Charting::LegendCollection ^ Legends { System::Web::UI::DataVisualization::Charting::LegendCollection ^ get(); };
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public System.Web.UI.DataVisualization.Charting.LegendCollection Legends { get; }
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)>]
member this.Legends : System.Web.UI.DataVisualization.Charting.LegendCollection
Public ReadOnly Property Legends As LegendCollection

Property Value

A LegendCollection object that is used to store all Legend objects.

Attributes

Remarks

This collection property stores all Legend objects used by the Chart control.

Applies to