Share via


Chart.ChartLegends Property

Defines the set of legends for the chart.

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Public Property ChartLegends As IList(Of ChartLegend)
    Get
    Set
'Usage
Dim instance As Chart
Dim value As IList(Of ChartLegend)

value = instance.ChartLegends

instance.ChartLegends = value
public IList<ChartLegend> ChartLegends { get; set; }
public:
property IList<ChartLegend^>^ ChartLegends {
    IList<ChartLegend^>^ get ();
    void set (IList<ChartLegend^>^ value);
}
member ChartLegends : IList<ChartLegend> with get, set
function get ChartLegends () : IList<ChartLegend>
function set ChartLegends (value : IList<ChartLegend>)

Property Value

Type: System.Collections.Generic.IList<ChartLegend>
An IList<T> object.