Chart.Legends Property 
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.LegendCollectionPublic ReadOnly Property Legends As LegendCollectionProperty 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.