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

Kendo UI ChartXAxisMajorGridLinesSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectChartXAxisMajorGridLinesSettings<T>

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

Constructors

C#
public ChartXAxisMajorGridLinesSettings()

Properties

Chart member.

C#
public Chart<T> Chart { get; set; }

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

C#
public string Color { get; set; }

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 ChartDashType? DashType { get; set; }

The skip of the x axis major grid lines.

C#
public double? Skip { get; set; }

The step of the x axis major grid lines.

C#
public double? Step { get; set; }

If set to false the chart will not display the x major grid lines. By default the x major grid lines are visible.

C#
public bool? Visible { get; set; }

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

C#
public double? Width { get; set; }

Methods

Serializes the settings to a Dictionary.

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>