Defines the fluent API for configuring ChartLegendItemLineSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class ChartLegendItemLineSettingsBuilder<T> where T : class
Inheritance: objectChartLegendItemLineSettingsBuilder<T>
Inherited Members
Constructors
ChartLegendItemLineSettingsBuilder method.
public ChartLegendItemLineSettingsBuilder(ChartLegendItemLineSettings<T> container)
Properties
Gets or sets the Container.
protected ChartLegendItemLineSettings<T> Container { get; }
Methods
The color of the legend item of type line. Accepts a valid CSS color string, including HEX and RGB. Defaults to the series color.
public ChartLegendItemLineSettingsBuilder<T> Color(string value)
The value for Color
Returns:ChartLegendItemLineSettingsBuilder<T>
Returns the current ChartLegendItemLineSettingsBuilder<T> instance.
The dash type of the legend item of type line.The following dash types are supported: "dash" - a line consisting of dashes; "dashDot" - a line consisting of a repeating pattern of dash-dot; "dot" - a line consisting of dots; "longDash" - a line consisting of a repeating pattern of long-dash or "longDashDot" - a line consisting of a repeating pattern of long-dash-dot.
public ChartLegendItemLineSettingsBuilder<T> DashType(ChartDashType value)
The value for DashType
Returns:ChartLegendItemLineSettingsBuilder<T>
Returns the current ChartLegendItemLineSettingsBuilder<T> instance.
The opacity of the legend item of type line. Defaults to the series opacity.
public ChartLegendItemLineSettingsBuilder<T> Opacity(double value)
The value for Opacity
Returns:ChartLegendItemLineSettingsBuilder<T>
Returns the current ChartLegendItemLineSettingsBuilder<T> instance.