ChartLegend
Class
Chart legend. Shows the series names or series labels listing. Can contains custom items.
Definition
Namespace:Telerik.Reporting.Charting
Assembly:Telerik.Reporting.dll
Syntax:
C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public class ChartLegend : ExtendedLabel, IChartingStateManagedItem, IChartingStateManager, IOrdering, IContainer
Inheritance: objectStateManagedObjectRenderedObjectLayoutElementChartBaseLabelExtendedLabelChartLegend...
Implements:
Inherited Members
Constructors
Constructor
C#
public ChartLegend()
Constructor
C#
public ChartLegend(Chart parent, IContainer container)
Reference to a parent object (Current Chart instance)
containerIContainerElement container
Properties
Methods
Adds custom item to Legend
C#
public void AddCustomItemToLegend(string description, FillStyle fillStyle, string figure)
Custom legend item text
fillStyleFillStyleFillStyle
figurestringFigure for an item marker