menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class StockChartStockTooltipSettings

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    StockChartStockTooltipSettings
    Namespace: Syncfusion.EJ2.Charts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class StockChartStockTooltipSettings : EJTagHelper

    Constructors

    StockChartStockTooltipSettings()

    Declaration
    public StockChartStockTooltipSettings()

    Properties

    Border

    Options to customize tooltip borders.

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

    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>

    Duration

    Duration for the ToolTip animation.

    Declaration
    public double Duration { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 300

    Enable

    Enables / Disables the visibility of the tooltip.

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

    The default value is false

    EnableAnimation

    If set to true, ToolTip will animate while moving from one point to another.

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

    The default value is true

    EnableMarker

    Enables / Disables the visibility of the marker.

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

    The default value is true

    EnableTextWrap

    To wrap the tooltip long text based on available space. This is only application for chart tooltip.

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

    The default value is false

    FadeOutDuration

    Fade Out duration for the ToolTip hide.

    Declaration
    public double FadeOutDuration { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 1000

    FadeOutMode

    Fade Out duration for the Tooltip hide.

    Declaration
    public FadeOutMode FadeOutMode { get; set; }
    Property Value
    Type Description
    FadeOutMode

    The default value is FadeOutMode.Move

    Fill

    The fill color of the tooltip that accepts value in hex and rgba as a valid CSS color string.

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

    The default value is null

    Format

    Format the ToolTip content.

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

    The default value is null

    Header

    Header for tooltip. By default, the shared tooltip displays the point x value and the series name for each individual tooltip.

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

    The default value is null

    Opacity

    The fill color of the tooltip that accepts value in hex and rgba as a valid CSS color string.

    Declaration
    public double Opacity { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 0.75

    Position

    Specifies the tooltip position. They are: fixed - Place the tooltip in the fixed position. nearest- Tooltip moves along with the mouse.

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

    The default value is TooltipPosition.Fixed

    Shared

    If set to true, a single ToolTip will be displayed for every index.

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

    The default value is false

    ShowHeaderLine

    Specifies whether to display the header line in the tooltip.

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

    The default value is true

    ShowNearestPoint

    By default, the nearest points will be included in the shared tooltip; however, you can set it to false to exclude the nearest value from the tooltip.

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

    The default value is true

    ShowNearestTooltip

    Enables or disables the display of tooltips for the nearest data point to the cursor.

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

    The default value is false

    Template

    Custom template to format the ToolTip content. Use ${x} and ${y} as the placeholder text to display the corresponding data point.

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

    The default value is null

    TextStyle

    Options to customize the ToolTip text.

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

    The default value is null

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