menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class ChartCrosshairTooltip

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    ChartCrosshairTooltip
    AxisCrosshairTooltipPrimaryXAxis
    AxisCrosshairTooltipPrimaryYAxis
    Namespace: Syncfusion.EJ2.Charts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class ChartCrosshairTooltip : EJTagHelper

    Constructors

    ChartCrosshairTooltip()

    Declaration
    public ChartCrosshairTooltip()

    Properties

    ContentTemplate

    To get or set value for ContentTemplate.

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

    Enable

    If set to true, the crosshair tooltip will be visible on the chart when interacting with the crosshair.

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

    The default value is false

    Fill

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

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

    The default value is null

    TextStyle

    Options for customizing the crosshair tooltip text, including font settings such as family, size, style, weight, and color.

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

    The default value is null

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