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

The base class for the Chart tooltip settings.

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public abstract class ChartTooltipBase

Inheritance: objectChartTooltipBase

Derived Classes: ChartTooltip

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 ChartTooltipBase class.

C#
protected ChartTooltipBase()

Properties

Specifies if the tooltip will be hidden when the mouse leaves the target element. If set to false, a Close button will be shown within tooltip.

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

Gets or sets the tooltip background.

C#
public string Background { get; set; }
Property Value:

The label background.

Gets or sets the tooltip border

C#
public ChartElementBorder Border { get; set; }

Gets or sets the tooltip color.

C#
public string Color { get; set; }
Property Value:

The label color.

Gets or sets the tooltip font.

C#
public string Font { get; set; }
Property Value:

Specify a font in CSS format. For example "16px Arial,Helvetica,sans-serif".

Gets or sets the tooltip format.

C#
public string Format { get; set; }
Property Value:

The label format.

Gets or sets the tooltip opacity.

C#
public double? Opacity { get; set; }
Property Value:

The tooltip opacity.

Gets or sets the tooltip margin

C#
public ChartSpacing Padding { get; set; }

The position of the crosshair tooltip.

C#
public string Position { get; set; }

Gets or sets the tooltip template.

C#
public string Template { get; set; }
Property Value:

The tooltip template.

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; }

Gets or sets a value indicating if the tooltip is visible

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

Methods

Creates a new IChartSerializer.

C#
public abstract IChartSerializer CreateSerializer()
Returns:

IChartSerializer

The IChartSerializer instance.