alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class StockChartCrosshairSettings

    To specify customization options for stock chart crosshair.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    StockChartCrosshairSettings
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnInitializedAsync()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.Dispose(bool)
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class StockChartCrosshairSettings : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    StockChartCrosshairSettings()

    Declaration
    public StockChartCrosshairSettings()

    Properties

    DashArray

    DashArray for crosshair.

    Declaration
    [Parameter]
    public string DashArray { get; set; }
    Property Value
    Type
    string

    Enable

    If set to true, crosshair line becomes visible.

    Declaration
    [Parameter]
    public bool Enable { get; set; }
    Property Value
    Type
    bool

    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
    [Parameter]
    public LineType LineType { get; set; }
    Property Value
    Type
    LineType

    SnapToData

    Gets or sets a value indicating whether the crosshair snapToData is enabled.

    Declaration
    [Parameter]
    public bool SnapToData { get; set; }
    Property Value
    Type Description
    bool

    true If set to true, the horizontal crosshair snaps to the nearest data point; otherwise, false. The default value is false.

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    RenderTreeBuilder __builder
    Overrides
    ComponentBase.BuildRenderTree(RenderTreeBuilder)

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved