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

Defines the fluent API for configuring ChartSeriesHighlightLineSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class ChartSeriesHighlightLineSettingsBuilder<T> where T : class

Inheritance: objectChartSeriesHighlightLineSettingsBuilder<T>

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

Constructors

Initializes a new instance of the ChartSeriesHighlightLineSettingsBuilder<T> class.

C#
public ChartSeriesHighlightLineSettingsBuilder(ChartSeriesHighlightLineSettings<T> container)
Parameters:containerChartSeriesHighlightLineSettings<T>

The ChartSeriesHighlightLineSettings<T> container

Properties

Gets the ChartSeriesHighlightLineSettings<T> container.

C#
protected ChartSeriesHighlightLineSettings<T> Container { get; }

Methods

The line color. Accepts a valid CSS color string, including hex and rgb.

C#
public ChartSeriesHighlightLineSettingsBuilder<T> Color(string value)
Parameters:valuestring

The value for Color

Returns:

ChartSeriesHighlightLineSettingsBuilder<T>

Returns the current ChartSeriesHighlightLineSettingsBuilder<T> instance.

The dash type of the highlight 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; "longDashDot" - a line consisting of a repeating pattern of long-dash-dot; "longDashDotDot" - a line consisting of a repeating pattern of long-dash-dot-dot or "solid" - a solid line.

C#
public ChartSeriesHighlightLineSettingsBuilder<T> DashType(ChartDashType value)
Parameters:valueChartDashType

The value for DashType

Returns:

ChartSeriesHighlightLineSettingsBuilder<T>

Returns the current ChartSeriesHighlightLineSettingsBuilder<T> instance.

The opacity of the line. By default the border is opaque.

C#
public ChartSeriesHighlightLineSettingsBuilder<T> Opacity(double value)
Parameters:valuedouble

The value for Opacity

Returns:

ChartSeriesHighlightLineSettingsBuilder<T>

Returns the current ChartSeriesHighlightLineSettingsBuilder<T> instance.

The width of the line.

C#
public ChartSeriesHighlightLineSettingsBuilder<T> Width(double value)
Parameters:valuedouble

The value for Width

Returns:

ChartSeriesHighlightLineSettingsBuilder<T>

Returns the current ChartSeriesHighlightLineSettingsBuilder<T> instance.