Defines the fluent interface for configuring the legend items.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ChartLegendItemBuilder
Inheritance: objectChartLegendItemBuilder
Inherited Members
Constructors
Initializes a new instance of the ChartLegendItemBuilder class.
public ChartLegendItemBuilder(ChartLegendItem legendItem)
The chart legend item.
Methods
Sets the configuration of the legend items of type area. By default, all series except line and scatter use this legend type.
public ChartLegendItemBuilder Area(Action<ChartLegendItemAreaSettingsBuilder> configurator)
The configurator for the area setting.
Returns:Sets the legend item cursor style
public ChartLegendItemBuilder Cursor(string cursor)
The cursor style.
Returns:The highlight configuration of the legend item.
public ChartLegendItemBuilder Highlight(Action<ChartLegendItemHighlightSettingsBuilder> 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 ChartLegendItemBuilder Line(Action<ChartLegendItemLineSettingsBuilder> 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 ChartLegendItemBuilder Markers(Action<ChartLegendItemMarkersSettingsBuilder> configurator)
The configurator for the markers setting.
Returns:The type of the legend items.
public ChartLegendItemBuilder Type(ChartLegendItemType value)
The value for Type
Returns:Sets the legend item visual handler
public ChartLegendItemBuilder Visual(string handler)
The JavaScript item visual handler name.
Returns: