New to Telerik ReportingStart a free 30-day trial

Specifies the legend for the graph series.

Definition

Namespace:Telerik.Reporting

Assembly:Telerik.Reporting.dll

Syntax:

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public class LegendItem

Inheritance: objectLegendItem

Constructors

TODO: Add documentation.

C#
public LegendItem()

Properties

Gets the collection of the conditional formatting rules, associated with the item's style.

C#
public ConditionalFormatting ConditionalFormatting { get; set; }

Format

string

Gets or sets the format for the legend value.

C#
public string Format { get; set; }

Gets the collection of the conditional formatting rules, associated with the mark style.

C#
public ConditionalFormatting MarkConditionalFormatting { get; set; }

Specifies the legend item's mark style.

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public Style MarkStyle { get; }

Specifies the legend item's style.

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public Style Style { get; }

Value

string

Specifies the text or expression which is displayed in the legend item.

C#
[AIAssistantRequired]
[AIAssistantDescription("Specifies the text or expression which is displayed in the legend item. Usually an expression matching or based on the series group expression, so that each legend item corresponds to a series instance and gets its color.")]
public string Value { get; set; }