Class CircularGaugeRangeTooltipBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
CircularGaugeRangeTooltipBuilder
Namespace: Syncfusion.EJ2.CircularGauge
Assembly: Syncfusion.EJ2.dll
Syntax
public class CircularGaugeRangeTooltipBuilder : ControlBuilder
Constructors
CircularGaugeRangeTooltipBuilder()
Declaration
public CircularGaugeRangeTooltipBuilder()
CircularGaugeRangeTooltipBuilder(CircularGaugeRangeTooltip)
Declaration
public CircularGaugeRangeTooltipBuilder(CircularGaugeRangeTooltip model)
Parameters
Type | Name | Description |
---|---|---|
CircularGaugeRangeTooltip | model |
Methods
Border(CircularGaugeBorder)
Sets and gets the options to customize the style properties of the border for range tooltip.
Declaration
public CircularGaugeRangeTooltipBuilder Border(CircularGaugeBorder value)
Parameters
Type | Name | Description |
---|---|---|
CircularGaugeBorder | value |
Returns
Border(Action<CircularGaugeBorderBuilder>)
Declaration
public CircularGaugeRangeTooltipBuilder Border(Action<CircularGaugeBorderBuilder> border)
Parameters
Type | Name | Description |
---|---|---|
System.Action<CircularGaugeBorderBuilder> | border |
Returns
EnableAnimation(Boolean)
Enables and disables the animation for the range tooltip. The animation is set as true by default.
Declaration
public CircularGaugeRangeTooltipBuilder EnableAnimation(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value |
Returns
Fill(String)
Gets and sets the fill color of the range tooltip. This property accepts value in hex code, rgba string as a valid CSS color string.
Declaration
public CircularGaugeRangeTooltipBuilder Fill(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Format(String)
Sets and gets the format of the range tooltip in circular gauge.
Declaration
public CircularGaugeRangeTooltipBuilder Format(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
ShowAtMousePosition(Boolean)
Enables and disables the range tooltip to be shown at mouse position. By default, it set as false.
Declaration
public CircularGaugeRangeTooltipBuilder ShowAtMousePosition(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value |
Returns
Template(String)
Sets and gets the custom template to format the tooltip content. Use ${x} and ${y} as a placeholder text to display the corresponding data point.
Declaration
public CircularGaugeRangeTooltipBuilder Template(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
TextStyle(CircularGaugeFont)
Sets and gets the options for the text style of the tooltip text for ranges in circular gauge.
Declaration
public CircularGaugeRangeTooltipBuilder TextStyle(CircularGaugeFont value)
Parameters
Type | Name | Description |
---|---|---|
CircularGaugeFont | value |
Returns
TextStyle(Action<CircularGaugeFontBuilder>)
Declaration
public CircularGaugeRangeTooltipBuilder TextStyle(Action<CircularGaugeFontBuilder> textStyle)
Parameters
Type | Name | Description |
---|---|---|
System.Action<CircularGaugeFontBuilder> | textStyle |