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

Kendo UI ChartTooltipSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectChartTooltipSettings<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 ChartTooltipSettings()

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

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

C#
public string Background { get; set; }

The border configuration options.

C#
public ChartTooltipBorderSettings<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 of the labels. Uses kendo.format.Format placeholders: Area, bar, column, funnel, pyramid, line and pie; {0} - value; Bubble; {0} - x value; {1} - y value; {2} - size value; {3} - category name; Bullet; {0} - value; {1} - target value; Scatter and scatterLine; {0} - x value; {1} - y value; Candlestick and OHLC; {0} - open value; {1} - high value; {2} - low value; {3} - close value; {4} - category name; RangeArea, rangeBar, rangeColumn; {0} - from value or {1} - to value.

C#
public string Format { get; set; }

The opacity of the tooltip.

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

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

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

If set to true the chart will display a single tooltip for every category.

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

The template which renders the shared tooltip.The fields which can be used in the template are: points - the category points or category - the category name.

C#
public string SharedTemplate { get; set; }

The handler that returns the template used for SharedTemplate

C#
public string SharedTemplateHandler { get; set; }

The id of the script element used for SharedTemplate

C#
public string SharedTemplateId { get; set; }

The template which renders the tooltip.The fields which can be used in the template are: category - the category name; dataItem - the original data item used to construct the point. Will be null if binding to array.; series - the data series; value - the point value (either a number or an object); runningTotal - the sum of point values since the last "runningTotal" summary point. Available for waterfall series. or total - the sum of all previous series values. Available for waterfall series..

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 series tooltip. By default the series tooltip is not displayed.

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>