Class ChartLegend
Chart legend. Shows the series names or series labels listing. Can contains custom items.
Inheritance
Inherited Members
Namespace: Telerik.Reporting.Charting
Assembly: Telerik.Reporting.dll
Syntax
public class ChartLegend : ExtendedLabel, IChartingStateManagedItem, IChartingStateManager, IDisposable, IOrdering, IContainer, IActiveRegion, ICloneable
Constructors
ChartLegend()
Constructor
Declaration
public ChartLegend()
ChartLegend(Chart, IContainer)
Constructor
Declaration
public ChartLegend(Chart parent, IContainer container)
Parameters
Chart
parent
Reference to a parent object (Current Chart instance) |
IContainer
container
Element container |
Properties
Item[Int32]
Reference to a label item by its index in items collection
Declaration
public override LabelItem this[int itemIndex] { get; set; }
Parameters
System.Int32
itemIndex
Label item's index |
Property Value
LabelItem
LabelItem at given index |
Overrides
Methods
AddCustomItemToLegend(String, FillStyle, String)
Adds custom item to Legend
Declaration
public void AddCustomItemToLegend(string description, FillStyle fillStyle, string figure)
Parameters
System.String
description
Custom legend item text |
FillStyle
fillStyle
FillStyle |
System.String
figure
Figure for an item marker |