Class LinearGaugeTooltipSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
LinearGaugeTooltipSettingsBuilder
Assembly: Syncfusion.EJ2.dll
public class LinearGaugeTooltipSettingsBuilder : ControlBuilder
Constructors
Declaration
public LinearGaugeTooltipSettingsBuilder()
Declaration
public LinearGaugeTooltipSettingsBuilder(LinearGaugeTooltipSettings model)
Parameters
Methods
Sets and gets the options to customize the border for tooltip.
Declaration
public LinearGaugeTooltipSettingsBuilder Border(LinearGaugeBorder value)
Parameters
Returns
Declaration
public LinearGaugeTooltipSettingsBuilder Border(Action<LinearGaugeBorderBuilder> border)
Parameters
Returns
Enables or disables the visibility of tooltip.
Declaration
public LinearGaugeTooltipSettingsBuilder Enable(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
Enables or disables the animation for the tooltip while moving from one place to another.
Declaration
public LinearGaugeTooltipSettingsBuilder EnableAnimation(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
Sets and gets the color of the tooltip. This property accepts value in hex code, rgba string as a valid CSS color string.
Declaration
public LinearGaugeTooltipSettingsBuilder Fill(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Sets and gets the format of the tooltip content in linear gauge. Use "{value}" as a placeholder
text to display the corresponding pointer value of in the tooltip.
Declaration
public LinearGaugeTooltipSettingsBuilder Format(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Sets and gets the position type to place the tooltip in the axis.
Declaration
public LinearGaugeTooltipSettingsBuilder Position(TooltipPosition value)
Parameters
Returns
Sets and gets the options to customize the range tooltip.
Declaration
public LinearGaugeTooltipSettingsBuilder RangeSettings(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Enables and disables to show the tooltip of the pointer at mouse position. When set as false which is the default value, the tooltip will be displayed over the axis line.
Declaration
public LinearGaugeTooltipSettingsBuilder ShowAtMousePosition(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
Sets and gets the custom template to format the tooltip content.
Declaration
public LinearGaugeTooltipSettingsBuilder Template(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
TextStyle(LinearGaugeFont)
Sets and gets the options to customize the text in tooltip.
Declaration
public LinearGaugeTooltipSettingsBuilder TextStyle(LinearGaugeFont value)
Parameters
Returns
TextStyle(Action<LinearGaugeFontBuilder>)
Declaration
public LinearGaugeTooltipSettingsBuilder TextStyle(Action<LinearGaugeFontBuilder> textStyle)
Parameters
Returns
Sets and gets the option to display the tooltip for range and pointer.
Declaration
public LinearGaugeTooltipSettingsBuilder Type(string[] value)
Parameters
Type |
Name |
Description |
System.String[] |
value |
|
Returns