menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class LinearGaugeTooltipSettingsBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class LinearGaugeTooltipSettingsBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    LinearGaugeTooltipSettingsBuilder
    Namespace: Syncfusion.EJ2.LinearGauge
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class LinearGaugeTooltipSettingsBuilder : ControlBuilder

    Constructors

    LinearGaugeTooltipSettingsBuilder()

    Declaration
    public LinearGaugeTooltipSettingsBuilder()

    LinearGaugeTooltipSettingsBuilder(LinearGaugeTooltipSettings)

    Declaration
    public LinearGaugeTooltipSettingsBuilder(LinearGaugeTooltipSettings model)
    Parameters
    Type Name Description
    LinearGaugeTooltipSettings model

    Methods

    Border(LinearGaugeBorder)

    Sets and gets the options to customize the border for tooltip.

    Declaration
    public LinearGaugeTooltipSettingsBuilder Border(LinearGaugeBorder value)
    Parameters
    Type Name Description
    LinearGaugeBorder value
    Returns
    Type
    LinearGaugeTooltipSettingsBuilder

    Border(Action<LinearGaugeBorderBuilder>)

    Declaration
    public LinearGaugeTooltipSettingsBuilder Border(Action<LinearGaugeBorderBuilder> border)
    Parameters
    Type Name Description
    System.Action<LinearGaugeBorderBuilder> border
    Returns
    Type
    LinearGaugeTooltipSettingsBuilder

    Enable(Boolean)

    Enables or disables the visibility of tooltip.

    Declaration
    public LinearGaugeTooltipSettingsBuilder Enable(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    LinearGaugeTooltipSettingsBuilder

    EnableAnimation(Boolean)

    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
    Type
    LinearGaugeTooltipSettingsBuilder

    Fill(String)

    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
    Type
    LinearGaugeTooltipSettingsBuilder

    Format(String)

    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
    Type
    LinearGaugeTooltipSettingsBuilder

    Position(TooltipPosition)

    Sets and gets the position type to place the tooltip in the axis.

    Declaration
    public LinearGaugeTooltipSettingsBuilder Position(TooltipPosition value)
    Parameters
    Type Name Description
    TooltipPosition value
    Returns
    Type
    LinearGaugeTooltipSettingsBuilder

    RangeSettings(Object)

    Sets and gets the options to customize the range tooltip.

    Declaration
    public LinearGaugeTooltipSettingsBuilder RangeSettings(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    LinearGaugeTooltipSettingsBuilder

    ShowAtMousePosition(Boolean)

    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
    Type
    LinearGaugeTooltipSettingsBuilder

    Template(String)

    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
    Type
    LinearGaugeTooltipSettingsBuilder

    TextStyle(LinearGaugeFont)

    Sets and gets the options to customize the text in tooltip.

    Declaration
    public LinearGaugeTooltipSettingsBuilder TextStyle(LinearGaugeFont value)
    Parameters
    Type Name Description
    LinearGaugeFont value
    Returns
    Type
    LinearGaugeTooltipSettingsBuilder

    TextStyle(Action<LinearGaugeFontBuilder>)

    Declaration
    public LinearGaugeTooltipSettingsBuilder TextStyle(Action<LinearGaugeFontBuilder> textStyle)
    Parameters
    Type Name Description
    System.Action<LinearGaugeFontBuilder> textStyle
    Returns
    Type
    LinearGaugeTooltipSettingsBuilder

    Type(String[])

    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
    Type
    LinearGaugeTooltipSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved