New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Configures the Chart legend item settings.

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ChartLegendItem

Inheritance: objectChartLegendItem

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public ChartLegendItem()

Properties

Sets the configuration of the legend items of type area. By default, all series except line and scatter use this legend type.

C#
public ChartLegendItemAreaSettings Area { get; }

Gets or sets the item cursor style.

C#
public string Cursor { get; set; }

The highlight configuration of the legend item.

C#
public ChartLegendItemHighlightSettings Highlight { get; }

Sets the configuration of the legend items of type line. This is the default legend item type for all line and scatter series.

C#
public ChartLegendItemLineSettings Line { get; }

The configuration of the Chart legend item markers.By default, the marker configuration will be the same as the series.markers settings of the displayed series.

C#
public ChartLegendItemMarkersSettings Markers { get; }

Тhe type of the legend items.

C#
public ChartLegendItemType? Type { get; set; }

Gets or sets the legent item visual handler.

C#
public ClientHandlerDescriptor Visual { get; set; }
Property Value:

The legent item visual handler.

Methods

C#
public IChartSerializer CreateSerializer()
Returns:

IChartSerializer

The ChartLegendItemSerializer instance.