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

Defines the fluent API for configuring ChartSeriesBorderSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectChartSeriesBorderSettingsBuilder<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 ChartSeriesBorderSettingsBuilder<T> class.

C#
public ChartSeriesBorderSettingsBuilder(ChartSeriesBorderSettings<T> container)
Parameters:containerChartSeriesBorderSettings<T>

The ChartSeriesBorderSettings<T> container

Properties

Gets the ChartSeriesBorderSettings<T> container.

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

Methods

The color of the border. Accepts a valid CSS color string, including hex and rgb. By default it is set to color of the current series.

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

The value for Color

Returns:

ChartSeriesBorderSettingsBuilder<T>

Returns the current ChartSeriesBorderSettingsBuilder<T> instance.

The color of the border. Accepts a valid CSS color string, including hex and rgb. By default it is set to color of the current series.

C#
public ChartSeriesBorderSettingsBuilder<T> ColorHandler(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

ChartSeriesBorderSettingsBuilder<T>

Returns the current ChartSeriesBorderSettingsBuilder<T> instance.

The color of the border. Accepts a valid CSS color string, including hex and rgb. By default it is set to color of the current series.

C#
public ChartSeriesBorderSettingsBuilder<T> ColorHandler(string handler)
Parameters:handlerstring

The name of the JavaScript function that will be evaluated.

Returns:

ChartSeriesBorderSettingsBuilder<T>

Returns the current ChartSeriesBorderSettingsBuilder<T> instance.

The dash type of the border.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 ChartSeriesBorderSettingsBuilder<T> DashType(ChartDashType value)
Parameters:valueChartDashType

The value for DashType

Returns:

ChartSeriesBorderSettingsBuilder<T>

Returns the current ChartSeriesBorderSettingsBuilder<T> instance.

The dash type of the border.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 ChartSeriesBorderSettingsBuilder<T> DashTypeHandler(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

ChartSeriesBorderSettingsBuilder<T>

Returns the current ChartSeriesBorderSettingsBuilder<T> instance.

The dash type of the border.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 ChartSeriesBorderSettingsBuilder<T> DashTypeHandler(string handler)
Parameters:handlerstring

The name of the JavaScript function that will be evaluated.

Returns:

ChartSeriesBorderSettingsBuilder<T>

Returns the current ChartSeriesBorderSettingsBuilder<T> instance.

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

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

The value for Opacity

Returns:

ChartSeriesBorderSettingsBuilder<T>

Returns the current ChartSeriesBorderSettingsBuilder<T> instance.

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

C#
public ChartSeriesBorderSettingsBuilder<T> OpacityHandler(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

ChartSeriesBorderSettingsBuilder<T>

Returns the current ChartSeriesBorderSettingsBuilder<T> instance.

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

C#
public ChartSeriesBorderSettingsBuilder<T> OpacityHandler(string handler)
Parameters:handlerstring

The name of the JavaScript function that will be evaluated.

Returns:

ChartSeriesBorderSettingsBuilder<T>

Returns the current ChartSeriesBorderSettingsBuilder<T> instance.

The width of the border in pixels.

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

The value for Width

Returns:

ChartSeriesBorderSettingsBuilder<T>

Returns the current ChartSeriesBorderSettingsBuilder<T> instance.

The width of the border in pixels.

C#
public ChartSeriesBorderSettingsBuilder<T> WidthHandler(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

ChartSeriesBorderSettingsBuilder<T>

Returns the current ChartSeriesBorderSettingsBuilder<T> instance.

The width of the border in pixels.

C#
public ChartSeriesBorderSettingsBuilder<T> WidthHandler(string handler)
Parameters:handlerstring

The name of the JavaScript function that will be evaluated.

Returns:

ChartSeriesBorderSettingsBuilder<T>

Returns the current ChartSeriesBorderSettingsBuilder<T> instance.