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

Defines the fluent API for configuring ChartSeriesMedianSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectChartSeriesMedianSettingsBuilder<T>

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

Constructors

ChartSeriesMedianSettingsBuilder method.

C#
public ChartSeriesMedianSettingsBuilder(ChartSeriesMedianSettings<T> container)
Parameters:containerChartSeriesMedianSettings<T>

Properties

Gets or sets the Container.

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

Methods

The color of the median visual. Accepts a valid CSS color string, including hex and rgb.

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

The value for Color

Returns:

ChartSeriesMedianSettingsBuilder<T>

Returns the current ChartSeriesMedianSettingsBuilder<T> instance.

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

The value for DashType

Returns:

ChartSeriesMedianSettingsBuilder<T>

Returns the current ChartSeriesMedianSettingsBuilder<T> instance.

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

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

The value for Opacity

Returns:

ChartSeriesMedianSettingsBuilder<T>

Returns the current ChartSeriesMedianSettingsBuilder<T> instance.

The width of the median visual in pixels.

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

The value for Width

Returns:

ChartSeriesMedianSettingsBuilder<T>

Returns the current ChartSeriesMedianSettingsBuilder<T> instance.