menu

ASP.NET Core - EJ2

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

    Show / Hide Table of Contents

    Class AccumulationChartTooltipSettingsBuilder

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

    Constructors

    AccumulationChartTooltipSettingsBuilder()

    Declaration
    public AccumulationChartTooltipSettingsBuilder()

    AccumulationChartTooltipSettingsBuilder(AccumulationChartTooltipSettings)

    Declaration
    public AccumulationChartTooltipSettingsBuilder(AccumulationChartTooltipSettings model)
    Parameters
    Type Name Description
    AccumulationChartTooltipSettings model

    Methods

    Border(AccumulationChartTooltipBorder)

    Options for customizing the tooltip borders, including the color and width of the tooltip's border.

    Declaration
    public AccumulationChartTooltipSettingsBuilder Border(AccumulationChartTooltipBorder value)
    Parameters
    Type Name Description
    AccumulationChartTooltipBorder value
    Returns
    Type
    AccumulationChartTooltipSettingsBuilder

    Border(Action<AccumulationChartBorderBuilder>)

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

    Duration(Double)

    Duration of the tooltip animation, specified in milliseconds.

    Declaration
    public AccumulationChartTooltipSettingsBuilder Duration(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    AccumulationChartTooltipSettingsBuilder

    Enable(Boolean)

    If set to true, enables tooltips for the data points.

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

    EnableAnimation(Boolean)

    If set to true, the tooltip will animate as it moves from one point to another.

    Declaration
    public AccumulationChartTooltipSettingsBuilder EnableAnimation(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    AccumulationChartTooltipSettingsBuilder

    EnableHighlight(Boolean)

    When set to true, highlights all points in the hovered series while dimming points in other series for better focus and clarity.

    Declaration
    public AccumulationChartTooltipSettingsBuilder EnableHighlight(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    AccumulationChartTooltipSettingsBuilder

    EnableMarker(Boolean)

    If set to true, enables the marker in the chart tooltip.

    Declaration
    public AccumulationChartTooltipSettingsBuilder EnableMarker(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    AccumulationChartTooltipSettingsBuilder

    EnableTextWrap(Boolean)

    Wraps the tooltip's long text based on the available space.

    Note that this feature applies only to chart tooltips.

    Declaration
    public AccumulationChartTooltipSettingsBuilder EnableTextWrap(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    AccumulationChartTooltipSettingsBuilder

    FadeOutDuration(Double)

    Duration of the fade-out animation for hiding the tooltip, in milliseconds.

    Declaration
    public AccumulationChartTooltipSettingsBuilder FadeOutDuration(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    AccumulationChartTooltipSettingsBuilder

    FadeOutMode(FadeOutMode)

    Specifies the mode for the fade-out animation when hiding the tooltip.

    Declaration
    public AccumulationChartTooltipSettingsBuilder FadeOutMode(FadeOutMode value)
    Parameters
    Type Name Description
    FadeOutMode value
    Returns
    Type
    AccumulationChartTooltipSettingsBuilder

    Fill(String)

    The fill color of the tooltip, specified as a valid CSS color string in hex or rgba format.

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

    Format(String)

    Specifies the format for customizing the content of the tooltip.

    Declaration
    public AccumulationChartTooltipSettingsBuilder Format(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    AccumulationChartTooltipSettingsBuilder

    Header(String)

    Customizes the header text for the tooltip. By default, this property displays the series name.

    Declaration
    public AccumulationChartTooltipSettingsBuilder Header(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    AccumulationChartTooltipSettingsBuilder

    Location(Object)

    Specifies the location of the tooltip relative to the chart. If x is 20, the tooltip moves 20 pixels to the right of the chart.

    Declaration
    public AccumulationChartTooltipSettingsBuilder Location(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    AccumulationChartTooltipSettingsBuilder

    Opacity(Double)

    The opacity of the tooltip, expressed as a numerical value.

    Declaration
    public AccumulationChartTooltipSettingsBuilder Opacity(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    AccumulationChartTooltipSettingsBuilder

    Shared(Boolean)

    If set to true, a single tooltip will be displayed for each index.

    Declaration
    public AccumulationChartTooltipSettingsBuilder Shared(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    AccumulationChartTooltipSettingsBuilder

    ShowHeaderLine(Boolean)

    Specifies whether to display the header line in the tooltip.

    Declaration
    public AccumulationChartTooltipSettingsBuilder ShowHeaderLine(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    AccumulationChartTooltipSettingsBuilder

    ShowNearestPoint(Boolean)

    Specifies whether the nearest points should be included in the shared tooltip. By default, the nearest data points are displayed. Set this property to false to exclude the nearest point.

    Declaration
    public AccumulationChartTooltipSettingsBuilder ShowNearestPoint(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    AccumulationChartTooltipSettingsBuilder

    ShowNearestTooltip(Boolean)

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

    Declaration
    public AccumulationChartTooltipSettingsBuilder ShowNearestTooltip(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    AccumulationChartTooltipSettingsBuilder

    Template(String)

    A custom template used to format the tooltip content. Use ${x} and ${y} as placeholders for the corresponding data points.

    Declaration
    public AccumulationChartTooltipSettingsBuilder Template(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    AccumulationChartTooltipSettingsBuilder

    TextStyle(AccumulationChartTooltipTextStyle)

    This property defines the font family, size, style, weight, and color for the tooltip text.

    Declaration
    public AccumulationChartTooltipSettingsBuilder TextStyle(AccumulationChartTooltipTextStyle value)
    Parameters
    Type Name Description
    AccumulationChartTooltipTextStyle value
    Returns
    Type
    AccumulationChartTooltipSettingsBuilder

    TextStyle(Action<AccumulationChartFontBuilder>)

    Declaration
    public AccumulationChartTooltipSettingsBuilder TextStyle(Action<AccumulationChartFontBuilder> textStyle)
    Parameters
    Type Name Description
    System.Action<AccumulationChartFontBuilder> textStyle
    Returns
    Type
    AccumulationChartTooltipSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved