Class AccumulationChartTooltipSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
AccumulationChartTooltipSettingsBuilder
Assembly: Syncfusion.EJ2.dll
public class AccumulationChartTooltipSettingsBuilder : ControlBuilder
Constructors
Declaration
public AccumulationChartTooltipSettingsBuilder()
Declaration
public AccumulationChartTooltipSettingsBuilder(AccumulationChartTooltipSettings model)
Parameters
Methods
Options for customizing the tooltip borders, including the color and width of the tooltip's border.
Declaration
public AccumulationChartTooltipSettingsBuilder Border(AccumulationChartTooltipBorder value)
Parameters
Returns
Declaration
public AccumulationChartTooltipSettingsBuilder Border(Action<AccumulationChartBorderBuilder> border)
Parameters
Returns
Duration of the tooltip animation, specified in milliseconds.
Declaration
public AccumulationChartTooltipSettingsBuilder Duration(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
If set to true, enables tooltips for the data points.
Declaration
public AccumulationChartTooltipSettingsBuilder Enable(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
If set to true, the tooltip will animate as it moves from one point to another.
Declaration
public AccumulationChartTooltipSettingsBuilder EnableAnimation(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
When set to true, highlights all points in the hovered series while dimming points in other series for better focus and clarity.
Declaration
public AccumulationChartTooltipSettingsBuilder EnableHighlight(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
If set to true, enables the marker in the chart tooltip.
Declaration
public AccumulationChartTooltipSettingsBuilder EnableMarker(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
EnableTextWrap(Boolean)
Wraps the tooltip's long text based on the available space.
Note that this feature applies only to chart tooltips.
Declaration
public AccumulationChartTooltipSettingsBuilder EnableTextWrap(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
Duration of the fade-out animation for hiding the tooltip, in milliseconds.
Declaration
public AccumulationChartTooltipSettingsBuilder FadeOutDuration(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Specifies the mode for the fade-out animation when hiding the tooltip.
Declaration
public AccumulationChartTooltipSettingsBuilder FadeOutMode(FadeOutMode value)
Parameters
Returns
The fill color of the tooltip, specified as a valid CSS color string in hex or rgba format.
Declaration
public AccumulationChartTooltipSettingsBuilder Fill(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Specifies the format for customizing the content of the tooltip.
Declaration
public AccumulationChartTooltipSettingsBuilder Format(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Customizes the header text for the tooltip. By default, this property displays the series name.
Declaration
public AccumulationChartTooltipSettingsBuilder Header(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Specifies the location of the tooltip relative to the chart.
If x is 20, the tooltip moves 20 pixels to the right of the chart.
Declaration
public AccumulationChartTooltipSettingsBuilder Location(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
The opacity of the tooltip, expressed as a numerical value.
Declaration
public AccumulationChartTooltipSettingsBuilder Opacity(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
If set to true, a single tooltip will be displayed for each index.
Declaration
public AccumulationChartTooltipSettingsBuilder Shared(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
Specifies whether the nearest points should be included in the shared tooltip.
By default, the nearest data points are displayed.
Set this property to false to exclude the nearest point.
Declaration
public AccumulationChartTooltipSettingsBuilder ShowNearestPoint(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
A custom template used to format the tooltip content. Use ${x}
and ${y}
as placeholders for the corresponding data points.
Declaration
public AccumulationChartTooltipSettingsBuilder Template(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
TextStyle(AccumulationChartTooltipTextStyle)
This property defines the font family, size, style, weight, and color for the tooltip text.
Declaration
public AccumulationChartTooltipSettingsBuilder TextStyle(AccumulationChartTooltipTextStyle value)
Parameters
Returns
TextStyle(Action<AccumulationChartFontBuilder>)
Declaration
public AccumulationChartTooltipSettingsBuilder TextStyle(Action<AccumulationChartFontBuilder> textStyle)
Parameters
Returns