Legends Property

Chart.Legends Property

.NET Framework (current version)
 

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

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public LegendCollection Legends { get; }

Property Value

Type: System.Web.UI.DataVisualization.Charting.LegendCollection

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

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

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft