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.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
[PersistenceModeAttribute(PersistenceMode.InnerProperty)] public LegendCollection Legends { get; }
Property Value
Type: System.Web.UI.DataVisualization.Charting.LegendCollectionA LegendCollection object that is used to store all Legend objects.
.NET Framework
Available since 4.0
Available since 4.0
Show: