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

Kendo UI ChartLegendItemSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class ChartLegendItemSettings<T> where T : class

Inheritance: objectChartLegendItemSettings<T>

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

Constructors

C#
public ChartLegendItemSettings()

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<T> Area { get; }

Chart member.

C#
public Chart<T> Chart { get; set; }

The cursor style of the legend item.

C#
public string Cursor { get; set; }

The highlight configuration of the legend item.

C#
public ChartLegendItemHighlightSettings<T> 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<T> 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<T> Markers { get; }

The type of the legend items.

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

A function that can be used to create a custom visual for the legend items. The available argument fields are: options—The item options.; createVisual—A function for getting the default visual.; series—The item series. or pointIndex—The index of the point in the series. Available for the Pie, Donut, and Funnel series..

C#
public ClientHandlerDescriptor Visual { get; set; }

Methods

Serializes the settings to a Dictionary.

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>