Blazor

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

    Show / Hide Table of Contents

    Class ChartCrosshairSettings

    Options to customize the crosshair for the charts

    Inheritance
    System.Object
    Syncfusion.Blazor.SfBaseComponent
    SfDataBoundComponent
    ChartCrosshairSettings
    Inherited Members
    SfDataBoundComponent.SetDataManager<T>(Object)
    SfDataBoundComponent.OnAfterRenderAsync(Boolean)
    SfDataBoundComponent.DataManager
    SfDataBoundComponent.MainParent
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ChartCrosshairSettings : SfDataBoundComponent

    Constructors

    ChartCrosshairSettings()

    Declaration
    public ChartCrosshairSettings()

    Properties

    ChildContent

    Gets and sets the content of the component

    Declaration
    public RenderFragment ChildContent { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.RenderFragment

    DashArray

    Specifies the dashArray for crosshair.

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

    Enable

    If set to true, crosshair line becomes visible.

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

    Line

    Options to customize the crosshair line.

    Declaration
    public ChartCrosshairLine Line { get; set; }
    Property Value
    Type Description
    ChartCrosshairLine

    LineType

    Specifies the line type. Horizontal mode enables the horizontal line and Vertical mode enables the vertical line. They are, None: Hides both vertical and horizontal crosshair lines. Both: Shows both vertical and horizontal crosshair lines. Vertical: Shows the vertical line. Horizontal: Shows the horizontal line.

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

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder

    OnInitializedAsync()

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task
    Overrides
    SfDataBoundComponent.OnInitializedAsync()

    OnParametersSetAsync()

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task
    Overrides
    SfDataBoundComponent.OnParametersSetAsync()
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved