menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class LinearGaugeTooltipSettings

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    LinearGaugeTooltipSettings
    Namespace: Syncfusion.EJ2.LinearGauge
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class LinearGaugeTooltipSettings : EJTagHelper

    Constructors

    LinearGaugeTooltipSettings()

    Declaration
    public LinearGaugeTooltipSettings()

    Properties

    Border

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

    Declaration
    public LinearGaugeBorder Border { get; set; }
    Property Value
    Type Description
    LinearGaugeBorder

    The default value is null

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>

    Enable

    Enables or disables the visibility of tooltip.

    Declaration
    public bool Enable { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    EnableAnimation

    Enables or disables the animation for the tooltip while moving from one place to another.

    Declaration
    public bool EnableAnimation { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is true

    Fill

    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 string Fill { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Format

    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 string Format { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Position

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

    Declaration
    public TooltipPosition Position { get; set; }
    Property Value
    Type Description
    TooltipPosition

    The default value is TooltipPosition.End

    RangeSettings

    Sets and gets the options to customize the range tooltip.

    Declaration
    public object RangeSettings { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    ShowAtMousePosition

    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 bool ShowAtMousePosition { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    Template

    Sets and gets the custom template to format the tooltip content.

    Declaration
    public string Template { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    TextStyle

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

    Declaration
    public LinearGaugeFont TextStyle { get; set; }
    Property Value
    Type Description
    LinearGaugeFont

    The default value is null

    Type

    Sets and gets the option to display the tooltip for range and pointer.

    Declaration
    public string[] Type { get; set; }
    Property Value
    Type Description
    System.String[]

    The default value is null

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