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 that stores all Legend objects used by the Chart control.
public:
property System::Windows::Forms::DataVisualization::Charting::LegendCollection ^ Legends { System::Windows::Forms::DataVisualization::Charting::LegendCollection ^ get(); };
public System.Windows.Forms.DataVisualization.Charting.LegendCollection Legends { get; }
member this.Legends : System.Windows.Forms.DataVisualization.Charting.LegendCollection
Public ReadOnly Property Legends As LegendCollection
Property Value
A LegendCollection object that contains the Legend objects used by the chart.
Remarks
This collection property stores all Legend objects used by the Chart control.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.