Class LinearGaugeRangeTooltipSettings
Defines the tooltip settings of the range in linear gauge.
Inheritance
Namespace: Syncfusion.Blazor.LinearGauge
Assembly: Syncfusion.Blazor.dll
Syntax
public class LinearGaugeRangeTooltipSettings : OwningComponentBase
Constructors
LinearGaugeRangeTooltipSettings()
Declaration
public LinearGaugeRangeTooltipSettings()
Properties
ChildContent
Gets or sets the format of the range tooltip in linear gauge.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment |
EnableAnimation
Gets or sets a value indicating whether or not to enable the animation of the range tooltip. The animation is set as true by default.
Declaration
public bool EnableAnimation { get; set; }
Property Value
Type |
---|
System.Boolean |
Fill
Gets or 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 string Fill { get; set; }
Property Value
Type |
---|
System.String |
Format
Gets or sets the format of the range tooltip in linear gauge.
Declaration
public string Format { get; set; }
Property Value
Type |
---|
System.String |
Position
Gets or sets the position type to place the tooltip in the axis.
Declaration
public TooltipPosition Position { get; set; }
Property Value
Type |
---|
TooltipPosition |
ShowAtMousePosition
Gets or sets a value indicating whether or not to show the range tooltip at mouse position. By default, it set as false.
Declaration
public bool ShowAtMousePosition { get; set; }
Property Value
Type |
---|
System.Boolean |
Template
Gets or sets the custom template to format the tooltip content. Use ${x} and ${y} as a placeholder text to display the corresponding data point.
Declaration
public RenderFragment Template { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment |
TooltipTemplate
Gets or sets the tooltip template content for display.
Declaration
public RenderFragment TooltipTemplate { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
Dispose(Boolean)
Disposes the property values during the destroy of the component that is hold up for the execution of the component.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
OnInitializedAsync()
OnInitializedAsync method is called when the component has received its initial parameters.
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | System.Threading.Tasks.Task representing the asynchronous operation. |
OnParametersSetAsync()
OnParametersSetAsync is a lifecycle method that is invoked when the component has received parameters, and the incoming values have been assigned to the properties.
Declaration
protected override Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | System.Threading.Tasks.Task representing the asynchronous operation. |