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

Kendo UI ChartCategoryAxisCrosshairSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectChartCategoryAxisCrosshairSettings<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 ChartCategoryAxisCrosshairSettings()

Properties

Chart member.

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

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

C#
public string Color { get; set; }

The dash type of the crosshair.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 opacity of the crosshair. By default the crosshair is opaque.

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

The crosshair tooltip options.

C#
public ChartCategoryAxisCrosshairTooltipSettings<T> Tooltip { get; }

If set to true the chart will display the category axis crosshair. By default the category axis crosshair is not visible.

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

The width of the crosshair in pixels.

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>