menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class ChartCrosshairTooltipBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    ChartCrosshairTooltipBuilder
    Namespace: Syncfusion.EJ2.Charts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class ChartCrosshairTooltipBuilder : ControlBuilder

    Constructors

    ChartCrosshairTooltipBuilder()

    Declaration
    public ChartCrosshairTooltipBuilder()

    ChartCrosshairTooltipBuilder(ChartCrosshairTooltip)

    Declaration
    public ChartCrosshairTooltipBuilder(ChartCrosshairTooltip model)
    Parameters
    Type Name Description
    ChartCrosshairTooltip model

    Methods

    Enable(Boolean)

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

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

    Fill(String)

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

    Declaration
    public ChartCrosshairTooltipBuilder Fill(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    ChartCrosshairTooltipBuilder

    TextStyle(Object)

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

    Declaration
    public ChartCrosshairTooltipBuilder TextStyle(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    ChartCrosshairTooltipBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved