Defines the fluent API for configuring ChartSeriesLegendItemSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ChartSeriesLegendItemSettingsBuilder
Inheritance: objectChartSeriesLegendItemSettingsBuilder
Inherited Members
Constructors
public ChartSeriesLegendItemSettingsBuilder(ChartSeriesLegendItemSettings container)
Properties
protected ChartSeriesLegendItemSettings Container { get; }
Methods
Sets the configuration of the legend items of type area. By default, all series except line and scatter use this legend type.
public ChartSeriesLegendItemSettingsBuilder Area(Action<ChartSeriesLegendItemAreaSettingsBuilder> configurator)
The configurator for the area setting.
Returns:The cursor style of the legend item.
public ChartSeriesLegendItemSettingsBuilder Cursor(string value)
The value for Cursor
Returns:The highlight configuration of the legend item.
public ChartSeriesLegendItemSettingsBuilder Highlight(Action<ChartSeriesLegendItemHighlightSettingsBuilder> configurator)
The configurator for the highlight setting.
Returns:Sets the configuration of the legend items of type line. This is the default legend item type for all line and scatter series.
public ChartSeriesLegendItemSettingsBuilder Line(Action<ChartSeriesLegendItemLineSettingsBuilder> configurator)
The configurator for the line setting.
Returns: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.
public ChartSeriesLegendItemSettingsBuilder Markers(Action<ChartSeriesLegendItemMarkersSettingsBuilder> configurator)
The configurator for the markers setting.
Returns: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..
public ChartSeriesLegendItemSettingsBuilder Type(string value)
The value for Type
Returns: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..
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..
public ChartSeriesLegendItemSettingsBuilder Visual(string handler)
The name of the JavaScript function that will be evaluated.
Returns: