Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartTooltipSettings - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartTooltipSettings

    Options to customize the tooltip.

    Inheritance
    System.Object
    ChartSubComponent
    ChartTooltipSettings
    Inherited Members
    ChartSubComponent.PopSubcomponent()
    ChartSubComponent.PushSubcomponent()
    ChartSubComponent.OnParametersSet()
    ChartSubComponent.Dispose(Boolean)
    ChartSubComponent.BuildRenderTree(RenderTreeBuilder)
    ChartSubComponent.ChildContent
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ChartTooltipSettings : ChartSubComponent, ISubcomponentTracker

    Constructors

    ChartTooltipSettings()

    Declaration
    public ChartTooltipSettings()

    Properties

    Border

    Options to customize tooltip borders.

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

    Duration

    Duration for the ToolTip animation.

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

    Enable

    Enables / Disables the visibility of the tooltip.

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

    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

    EnableMarker

    Enables / Disables the visibility of the marker.

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

    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

    FadeOutDuration

    Fade Out duration for the ToolTip hide.

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

    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

    Format

    Format the ToolTip content.

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

    Header

    Header for tooltip.

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

    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

    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

    Template

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

    Declaration
    public RenderFragment<object> Template { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.RenderFragment<System.Object>

    TextStyle

    Options to customize the ToolTip text.

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

    Methods

    OnInitialized()

    Declaration
    protected override void OnInitialized()
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved