Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class LinearGaugeRangeTooltipSettings - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class LinearGaugeRangeTooltipSettings

    Defines the tooltip settings of the range in linear gauge.

    Inheritance
    System.Object
    SfBaseComponent
    LinearGaugeRangeTooltipSettings
    Inherited Members
    SfBaseComponent.OnAfterRenderAsync(Boolean)
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(Boolean)
    SfBaseComponent.OnObservableChange(String, Object, Boolean, NotifyCollectionChangedEventArgs)
    Namespace: Syncfusion.Blazor.LinearGauge
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class LinearGaugeRangeTooltipSettings : SfBaseComponent

    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 Description
    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 Description
    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 Description
    System.String

    Format

    Gets or sets the format of the range tooltip in linear gauge.

    Declaration
    public string Format { get; set; }
    Property Value
    Type Description
    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 Description
    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 Description
    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 Description
    Microsoft.AspNetCore.Components.RenderFragment

    TooltipTemplate

    Gets or sets the tooltip template content for display.

    Declaration
    public RenderFragment TooltipTemplate { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.RenderFragment

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder

    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.

    Overrides
    SfBaseComponent.OnInitializedAsync()

    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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved