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

Kendo UI ChartAxisDefaultsCrosshairTooltipSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectChartAxisDefaultsCrosshairTooltipSettings<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 ChartAxisDefaultsCrosshairTooltipSettings()

Properties

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

C#
public string Background { get; set; }

The border options.

C#
public ChartAxisDefaultsCrosshairTooltipBorderSettings<T> Border { get; }

Chart member.

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

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

C#
public string Color { get; set; }

The tooltip font.

C#
public string Font { get; set; }

The format used to display the tooltip. Uses kendo.format. Contains one placeholder ("{0}") which represents the category value.

C#
public string Format { get; set; }

The padding of the crosshair tooltip. A numeric value will set all paddings.

C#
public ChartAxisDefaultsCrosshairTooltipPaddingSettings<T> Padding { get; }

The template which renders the tooltip.The fields which can be used in the template are: value - the category value.

C#
public string Template { get; set; }

The handler that returns the template used for Template

C#
public string TemplateHandler { get; set; }

The id of the script element used for Template

C#
public string TemplateId { get; set; }

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

C#
public bool? Visible { 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>