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

Kendo UI ChartSeriesLegendItemSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ChartSeriesLegendItemSettings

Inheritance: objectChartSeriesLegendItemSettings

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

Constructors

C#
public ChartSeriesLegendItemSettings()

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

The cursor style of the legend item.

C#
public string Cursor { get; set; }

The highlight configuration of the legend item.

C#
public ChartSeriesLegendItemHighlightSettings 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 ChartSeriesLegendItemLineSettings 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 ChartSeriesLegendItemMarkersSettings Markers { get; }

Sets the type of the legend items. The default value is based on the series type.The supported values are: "line"—the legend items are rendered as a line. This is the default value for line charts. or "area"—the legend items are rendered as a filled rectangle. This is the default value for area charts..

C#
public string 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

Serialize current instance to 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>