Legends Property

Chart.Legends Property

.NET Framework (current version)
 

Gets or sets a LegendCollection that stores all Legend objects used by the Chart control.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public LegendCollection Legends { get; }

Property Value

Type: System.Windows.Forms.DataVisualization.Charting.LegendCollection

A LegendCollection object that contains the Legend objects used by the chart.

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

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