Class AccumulationChartTooltipSettingsBuilder
Inheritance
System.Object
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.
Declaration
public AccumulationChartTooltipSettingsBuilder Border(AccumulationChartTooltipBorder value)
Parameters
Returns
Declaration
public AccumulationChartTooltipSettingsBuilder Border(Action<AccumulationChartBorderBuilder> border)
Parameters
Returns
Duration for the Tooltip animation.
Declaration
public AccumulationChartTooltipSettingsBuilder Duration(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
If set to true, enables the tooltip for the data points.
Declaration
public AccumulationChartTooltipSettingsBuilder Enable(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
If set to true, tooltip will animate while moving from one point to another.
Declaration
public AccumulationChartTooltipSettingsBuilder EnableAnimation(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)
To wrap the tooltip long text based on available space.
This is only application for chart tooltip.
Declaration
public AccumulationChartTooltipSettingsBuilder EnableTextWrap(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
Duration of the fade-out animation for hiding the Tooltip.
Declaration
public AccumulationChartTooltipSettingsBuilder FadeOutDuration(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Fade Out duration for the Tooltip hide.
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
The format for customizing the tooltip content.
Declaration
public AccumulationChartTooltipSettingsBuilder Format(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
The header text for the tooltip. By default, it 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, tooltip moves by 20 pixels to the right of the chart
Declaration
public AccumulationChartTooltipSettingsBuilder Location(AccumulationChartLegendLocation value)
Parameters
Returns
Declaration
public AccumulationChartTooltipSettingsBuilder Location(Action<AccumulationChartLocationBuilder> location)
Parameters
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 every index.
Declaration
public AccumulationChartTooltipSettingsBuilder Shared(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
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 AccumulationChartTooltipSettingsBuilder ShowNearestPoint(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
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 AccumulationChartTooltipSettingsBuilder Template(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
TextStyle(AccumulationChartTooltipTextStyle)
Options for customizing the tooltip text appearance.
Declaration
public AccumulationChartTooltipSettingsBuilder TextStyle(AccumulationChartTooltipTextStyle value)
Parameters
Returns
TextStyle(Action<AccumulationChartFontBuilder>)
Declaration
public AccumulationChartTooltipSettingsBuilder TextStyle(Action<AccumulationChartFontBuilder> textStyle)
Parameters
Returns