ClassChartLegend
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:
cs-api-definition
[TypeConverter(typeof(ExpandableObjectConverter))]
public class ChartLegend : ExtendedLabel, IChartingStateManagedItem, IChartingStateManager, IOrdering, IContainer
Inheritance: objectStateManagedObjectRenderedObjectLayoutElementChartBaseLabelExtendedLabelChartLegend
Implements:
Inherited Members
Constructors
ChartLegend(Chart, IContainer)
Constructor
Declaration
cs-api-definition
public ChartLegend(Chart parent, IContainer container)
Parameters
parent
Reference to a parent object (Current Chart instance)
container
Element container
Properties
Methods
AddCustomItemToLegend(string, FillStyle, string)
Adds custom item to Legend
Declaration
cs-api-definition
public void AddCustomItemToLegend(string description, FillStyle fillStyle, string figure)
Parameters
description
string
Custom legend item text
fillStyle
FillStyle
figure
string
Figure for an item marker