Class AccumulationChartTooltipSettings
Inheritance
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.EJ2.dll
Syntax
public class AccumulationChartTooltipSettings : EJTagHelper
Constructors
AccumulationChartTooltipSettings()
Declaration
public AccumulationChartTooltipSettings()
Properties
Border
Options for customizing the tooltip borders.
Declaration
public AccumulationChartTooltipBorder Border { get; set; }
Property Value
Type | Description |
---|---|
AccumulationChartTooltipBorder | The default value is null |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type |
---|
Syncfusion.EJ2.MvcTemplate<System.Object> |
Duration
Duration for the Tooltip animation.
Declaration
public double Duration { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 300 |
Enable
If set to true, enables the tooltip for the data points.
Declaration
public bool Enable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
EnableAnimation
If set to true, tooltip will animate while moving from one point to another.
Declaration
public bool EnableAnimation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
EnableMarker
If set to true, enables the marker in the chart tooltip.
Declaration
public bool EnableMarker { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
EnableTextWrap
To wrap the tooltip long text based on available space. This is only application for chart tooltip.
Declaration
public bool EnableTextWrap { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
FadeOutDuration
Duration of the fade-out animation for hiding the Tooltip.
Declaration
public double FadeOutDuration { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 1000 |
FadeOutMode
Fade Out duration for the Tooltip hide.
Declaration
public FadeOutMode FadeOutMode { get; set; }
Property Value
Type | Description |
---|---|
FadeOutMode | The default value is FadeOutMode.Move |
Fill
The fill color of the tooltip, specified as a valid CSS color string in hex or rgba format.
Declaration
public string Fill { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Format
The format for customizing the tooltip content.
Declaration
public string Format { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Header
The header text for the tooltip. By default, it displays the series name.
Declaration
public string Header { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Location
Specifies the location of the tooltip, relative to the chart. If x is 20, tooltip moves by 20 pixels to the right of the chart.
Declaration
public object Location { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
Opacity
The opacity of the tooltip, expressed as a numerical value.
Declaration
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is Double.NaN |
Shared
If set to true, a single ToolTip will be displayed for every index.
Declaration
public bool Shared { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
ShowNearestPoint
By default, the nearest points will be included in the shared tooltip; however, you can set it to false to exclude the nearest value from the tooltip.
Declaration
public bool ShowNearestPoint { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
Template
A custom template used to format the Tooltip content. You can use ${x} and ${y} as placeholder text to display the corresponding data points.
Declaration
public string Template { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
TextStyle
Options for customizing the tooltip text appearance.
Declaration
public AccumulationChartTooltipTextStyle TextStyle { get; set; }
Property Value
Type | Description |
---|---|
AccumulationChartTooltipTextStyle | The default value is null |