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
Inherited Members
Namespace: Syncfusion.Blazor.PivotView
Assembly: Syncfusion.Blazor.dll
Syntax
public class PivotChartCrosshairSettings : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
PivotChartCrosshairSettings()
Declaration
public PivotChartCrosshairSettings()
Properties
DashArray
Allows to set the 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 |
Line
Allows options to customize the crosshair line.
Declaration
[Parameter]
public object Line { get; set; }
Property Value
| Type |
|---|
| 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
[Parameter]
public PivotChartLineType LineType { get; set; }
Property Value
| Type |
|---|
| PivotChartLineType |
Methods
Dispose(bool)
Dispose unmanaged resources in the component.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
Overrides
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 |
|---|---|
| Task | A System.Threading.Tasks.Task representing any asynchronous operation. |
Overrides
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 |
|---|---|
| Task | A System.Threading.Tasks.Task representing any asynchronous operation. |