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

Defines the fluent API for configuring ChartValueAxisLineSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectChartValueAxisLineSettingsBuilder<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 ChartValueAxisLineSettingsBuilder<T> class.

C#
public ChartValueAxisLineSettingsBuilder(ChartValueAxisLineSettings<T> container)
Parameters:containerChartValueAxisLineSettings<T>

The ChartValueAxisLineSettings<T> container

Properties

Gets the ChartValueAxisLineSettings<T> container.

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

Methods

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

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

The value for Color

Returns:

ChartValueAxisLineSettingsBuilder<T>

Returns the current ChartValueAxisLineSettingsBuilder<T> instance.

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

The value for DashType

Returns:

ChartValueAxisLineSettingsBuilder<T>

Returns the current ChartValueAxisLineSettingsBuilder<T> instance.

If set to true the chart will display the value axis lines. By default the value axis lines are visible.

C#
public ChartValueAxisLineSettingsBuilder<T> Visible(bool value)
Parameters:valuebool

The value for Visible

Returns:

ChartValueAxisLineSettingsBuilder<T>

Returns the current ChartValueAxisLineSettingsBuilder<T> instance.

The width of the line in pixels. Also affects the major and minor ticks, but not the grid lines.

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

The value for Width

Returns:

ChartValueAxisLineSettingsBuilder<T>

Returns the current ChartValueAxisLineSettingsBuilder<T> instance.