Defines the fluent API for configuring ChartSeriesLegendItemSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class ChartSeriesLegendItemSettingsBuilder<T> where T : class
Inheritance: objectChartSeriesLegendItemSettingsBuilder<T>
Inherited Members
Constructors
ChartSeriesLegendItemSettingsBuilder method.
public ChartSeriesLegendItemSettingsBuilder(ChartSeriesLegendItemSettings<T> container)
Properties
Gets or sets the Container.
protected ChartSeriesLegendItemSettings<T> 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<T> Area(Action<ChartSeriesLegendItemAreaSettingsBuilder<T>> configurator)
The ChartSeriesLegendItemAreaSettingsBuilder<T> for the area setting.
Returns:ChartSeriesLegendItemSettingsBuilder<T>
Returns the current instance of ChartSeriesLegendItemSettingsBuilder<T> .
The cursor style of the legend item.
public ChartSeriesLegendItemSettingsBuilder<T> Cursor(string value)
The value for Cursor
Returns:ChartSeriesLegendItemSettingsBuilder<T>
Returns the current ChartSeriesLegendItemSettingsBuilder<T> instance.
The highlight configuration of the legend item.
public ChartSeriesLegendItemSettingsBuilder<T> Highlight(Action<ChartSeriesLegendItemHighlightSettingsBuilder<T>> configurator)
The ChartSeriesLegendItemHighlightSettingsBuilder<T> for the highlight setting.
Returns:ChartSeriesLegendItemSettingsBuilder<T>
Returns the current instance of ChartSeriesLegendItemSettingsBuilder<T> .
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<T> Line(Action<ChartSeriesLegendItemLineSettingsBuilder<T>> configurator)
The ChartSeriesLegendItemLineSettingsBuilder<T> for the line setting.
Returns:ChartSeriesLegendItemSettingsBuilder<T>
Returns the current instance of ChartSeriesLegendItemSettingsBuilder<T> .
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<T> Markers(Action<ChartSeriesLegendItemMarkersSettingsBuilder<T>> configurator)
The ChartSeriesLegendItemMarkersSettingsBuilder<T> for the markers setting.
Returns:ChartSeriesLegendItemSettingsBuilder<T>
Returns the current instance of ChartSeriesLegendItemSettingsBuilder<T> .
The type of the series legend items.
public ChartSeriesLegendItemSettingsBuilder<T> Type(ChartLegendItemType value)
The value for Type
Returns:ChartSeriesLegendItemSettingsBuilder<T>
Returns the current ChartSeriesLegendItemSettingsBuilder<T> instance.
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<T> Visual(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:ChartSeriesLegendItemSettingsBuilder<T>
Returns the current ChartSeriesLegendItemSettingsBuilder<T> instance.
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<T> Visual(string handler)
The name of the JavaScript function that will be evaluated.
Returns:ChartSeriesLegendItemSettingsBuilder<T>
Returns the current ChartSeriesLegendItemSettingsBuilder<T> instance.