menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PivotChartCrosshairSettings - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PivotChartCrosshairSettings

    Allow options to customize the crosshair line with different settings such as color and width of the line, line types that are shown horizontally and vertically to indicate the value of the axis at the mouse hover or touch position in the pivot chart.

    Inheritance
    System.Object
    PivotChartCrosshairSettings
    Namespace: Syncfusion.Blazor.PivotView
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class PivotChartCrosshairSettings : OwningComponentBase

    Constructors

    PivotChartCrosshairSettings()

    Declaration
    public PivotChartCrosshairSettings()

    Properties

    DashArray

    Allows to set the DashArray for crosshair.

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

    Enable

    If set to true, crosshair line becomes visible.

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

    Line

    Allows options to customize the crosshair line.

    Declaration
    public object Line { get; set; }
    Property Value
    Type
    System.Object

    LineType

    Allows to set 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 PivotChartLineType LineType { get; set; }
    Property Value
    Type
    PivotChartLineType

    Methods

    Dispose(Boolean)

    Dispose unmanaged resources in the component.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    OnInitializedAsync()

    Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree. Override this method if you will perform an asynchronous operation and want the component to refresh when that operation is completed.

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

    A System.Threading.Tasks.Task representing any asynchronous operation.

    OnParametersSetAsync()

    Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing any asynchronous operation.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved