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

Kendo UI ChartValueAxisCrosshairTooltipSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectChartValueAxisCrosshairTooltipSettings<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 ChartValueAxisCrosshairTooltipSettings()

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 ChartValueAxisCrosshairTooltipBorderSettings<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 value value.

C#
public string Format { get; set; }

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

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

The position of the crosshair tooltip.

C#
public string Position { get; set; }

The template which renders the tooltip.The fields which can be used in the template are: value - the value 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 value axis crosshair tooltip. By default the value 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>