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:
property LegendCollection^ Legends {
	LegendCollection^ 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: