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

Defines the fluent API for configuring ChartSeriesPatternSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectChartSeriesPatternSettingsBuilder<T>

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

Constructors

ChartSeriesPatternSettingsBuilder method.

C#
public ChartSeriesPatternSettingsBuilder(ChartSeriesPatternSettings<T> container)
Parameters:containerChartSeriesPatternSettings<T>

Properties

Gets or sets the Container.

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

Methods

The background color of the pattern.

C#
public ChartSeriesPatternSettingsBuilder<T> Background(string value)
Parameters:valuestring

The value for Background

Returns:

ChartSeriesPatternSettingsBuilder<T>

Returns the current ChartSeriesPatternSettingsBuilder<T> instance.

The color of the pattern. Defaults to series color.

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

The value for Color

Returns:

ChartSeriesPatternSettingsBuilder<T>

Returns the current ChartSeriesPatternSettingsBuilder<T> instance.

The gap between the elements of the pattern.

C#
public ChartSeriesPatternSettingsBuilder<T> Gap(double value)
Parameters:valuedouble

The value for Gap

Returns:

ChartSeriesPatternSettingsBuilder<T>

Returns the current ChartSeriesPatternSettingsBuilder<T> instance.

The radius of the dots. Applicable only for the "dots" pattern.

C#
public ChartSeriesPatternSettingsBuilder<T> Radius(double value)
Parameters:valuedouble

The value for Radius

Returns:

ChartSeriesPatternSettingsBuilder<T>

Returns the current ChartSeriesPatternSettingsBuilder<T> instance.

The size of the squares in the grid. Applicable only for the "grid" pattern.

C#
public ChartSeriesPatternSettingsBuilder<T> Size(double value)
Parameters:valuedouble

The value for Size

Returns:

ChartSeriesPatternSettingsBuilder<T>

Returns the current ChartSeriesPatternSettingsBuilder<T> instance.

Specifies the pattern type.

C#
public ChartSeriesPatternSettingsBuilder<T> Type(ChartSeriesPattern value)
Parameters:valueChartSeriesPattern

The value for Type

Returns:

ChartSeriesPatternSettingsBuilder<T>

Returns the current ChartSeriesPatternSettingsBuilder<T> instance.

The width of the lines. Applicable for the "crosshatch", "diagonalStripes" and "verticalStripes" patterns.

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

The value for Width

Returns:

ChartSeriesPatternSettingsBuilder<T>

Returns the current ChartSeriesPatternSettingsBuilder<T> instance.