Class NewTooltip
Inherited Members
Namespace: Syncfusion.JavaScript.DataVisualization.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class NewTooltip : EJTagHelper
Constructors
NewTooltip()
Declaration
public NewTooltip()
Properties
Border
Gets or sets the Border of tooltip, which provides an option to customize all four borders of tooltip that is to be displayed.
Declaration
[JsonProperty("border")]
public ChartBorder Border { get; set; }
Property Value
Type | Description |
---|---|
ChartBorder |
Remarks
Options for customizing the border of the tooltip.
Duration
Gets or sets the value of Duration property in tooltip, which specifies duration for animating the series tooltip.
Declaration
[JsonProperty("duration")]
public string Duration { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Specifies the duration, the tooltip has to be displayed.
EnableAnimation
Gets or sets the value of EnableAnimation property in tooltip, which enables or disables animation for series tooltip.
Declaration
[JsonProperty("enableAnimation")]
public bool EnableAnimation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Enables/disables the animation of the tooltip when moving from one point to another.
Fill
Gets or sets Fill color of tooltip, which displayes the series tooltip with the specified background fill color for tooltip.
Declaration
[JsonProperty("fill")]
public string Fill { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Background color of the tooltip.
Font
Gets or sets the Font of tooltip, which provides an option to customize the font color, size, opacity, family and weight of tooltip text.
Declaration
[JsonProperty("font")]
public ChartFont Font { get; set; }
Property Value
Type | Description |
---|---|
ChartFont |
Remarks
Options for customizing the font of the tooltip text.
Format
Gets or sets the Format of tooltip, which provides an option to customize the format of tooltip values that is to be displayed.
Declaration
[JsonProperty("format")]
public string Format { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Format of the tooltip content.
IsReversed
Gets or sets the value of isReversed property in tooltip, which displays the series tooltip from right to left.
Declaration
[JsonProperty("isReversed")]
public bool IsReversed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Enables or disables RTL for tooltip
RX
Gets or sets the RX value of tooltip, which displays bottom and top sides of the tooltip in a rounded way.
Declaration
[JsonProperty("rx")]
public int RX { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Rounding value for top and bottom sides of the tooltip rectangle
RY
Gets or sets the RY value of tooltip, which displays left and right sides of the tooltip in a rounded way.
Declaration
[JsonProperty("ry")]
public int RY { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Rounding value for left and right sides of the tooltip rectangle
Template
Gets or sets the Template of tooltip, which displays the tooltip based on div created by specifying the div name for template property.
Declaration
[JsonProperty("template")]
public string Template { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Custom template to format the tooltip content. Use �point.x� and �point.y� as a placeholder text to display the corresponding data point�s x and y value.
Visible
Gets or sets the value of Visible property in tooltip, controls the visibility of the tooltip that has to be displayed or not.
Declaration
[JsonProperty("visible")]
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Controls the visibility of the tooltip.
Methods
ShouldSerializeBorder()
Declaration
public bool ShouldSerializeBorder()
Returns
Type | Description |
---|---|
System.Boolean |
ShouldSerializeFont()
Declaration
public bool ShouldSerializeFont()
Returns
Type | Description |
---|---|
System.Boolean |