Class ChartEvents
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class ChartEvents : ChartSubComponent, ISubcomponentTracker
Constructors
ChartEvents()
Declaration
public ChartEvents()
Properties
ChartMouseClick
An event that is raised when a mouse click event occurs on the chart.
Declaration
public EventCallback<ChartMouseEventArgs> ChartMouseClick { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<ChartMouseEventArgs> |
Remarks
The System.Action<> should accept a ChartMouseEventArgs parameter, providing information about the mouse click event on the chart.
ChartMouseDown
An event that is raised when a mouse down event occurs on the chart.
Declaration
public Action<ChartMouseEventArgs> ChartMouseDown { get; set; }
Property Value
Type |
---|
System.Action<ChartMouseEventArgs> |
Remarks
The System.Action<> should accept a ChartMouseEventArgs parameter, providing information about the mouse down event on the chart.
ChartMouseMove
An event that is raised when a mouse move event occurs on the chart.
Declaration
public Action<ChartMouseEventArgs> ChartMouseMove { get; set; }
Property Value
Type |
---|
System.Action<ChartMouseEventArgs> |
Remarks
The System.Action<> should accept a ChartMouseEventArgs parameter, providing information about the mouse move event on the chart.
ChartMouseUp
An event that is raised when a mouse up event occurs on the chart.
Declaration
public Action<ChartMouseEventArgs> ChartMouseUp { get; set; }
Property Value
Type |
---|
System.Action<ChartMouseEventArgs> |
Remarks
The System.Action<> should accept a ChartMouseEventArgs parameter, providing information about the mouse up event on the chart.
Loaded
An event that is raised when the chart rendering is completed.
Declaration
public Action<LoadedEventArgs> Loaded { get; set; }
Property Value
Type |
---|
System.Action<LoadedEventArgs> |
Remarks
The System.Action<> should accept a LoadedEventArgs parameter, providing information about the completion of the chart rendering.
OnAxisActualRangeCalculated
An event that is raised before each axis range is rendered.
Declaration
public Action<AxisRangeCalculatedEventArgs> OnAxisActualRangeCalculated { get; set; }
Property Value
Type |
---|
System.Action<AxisRangeCalculatedEventArgs> |
Remarks
The System.Action<> should accept a AxisRangeCalculatedEventArgs parameter, providing information about the axis range calculation event.
OnAxisLabelClick
An event that is raised when any chart axis label is clicked.
Declaration
public Action<AxisLabelClickEventArgs> OnAxisLabelClick { get; set; }
Property Value
Type |
---|
System.Action<AxisLabelClickEventArgs> |
Remarks
The System.Action<> should accept an AxisLabelClickEventArgs parameter, providing information about the click event on a chart axis label.
OnAxisLabelRender
An event that is raised before each axis label is rendered.
Declaration
public Action<AxisLabelRenderEventArgs> OnAxisLabelRender { get; set; }
Property Value
Type |
---|
System.Action<AxisLabelRenderEventArgs> |
Remarks
You can customize the axis label through AxisLabelRenderEventArgs event argument. This event is raised to customize the axis labels.
OnAxisMultiLevelLabelRender
An event that is raised while rendering multi-level labels on the axis.
Declaration
public Action<AxisMultiLabelRenderEventArgs> OnAxisMultiLevelLabelRender { get; set; }
Property Value
Type |
---|
System.Action<AxisMultiLabelRenderEventArgs> |
Remarks
The System.Action<> should accept an AxisMultiLabelRenderEventArgs parameter, providing information about the rendering event for multi-level labels on the axis.
OnCrosshairMove
An event that is raised when the crosshair is moved.
Declaration
public Action<CrosshairMoveEventArgs> OnCrosshairMove { get; set; }
Property Value
Type |
---|
System.Action<CrosshairMoveEventArgs> |
Remarks
The System.Action<> should accept a CrosshairMoveEventArgs parameter, providing information about the event when the crosshair moves along the axis.
OnDataEdit
An event that is raised when the point drag starts during data editing.
Declaration
public Action<DataEditingEventArgs> OnDataEdit { get; set; }
Property Value
Type |
---|
System.Action<DataEditingEventArgs> |
Remarks
The System.Action<> should accept a DataEditingEventArgs parameter, providing information about the event when the user starts dragging a data point.
OnDataEditCompleted
An event that is raised when the point drag ends during data editing.
Declaration
public Action<DataEditingEventArgs> OnDataEditCompleted { get; set; }
Property Value
Type |
---|
System.Action<DataEditingEventArgs> |
Remarks
The System.Action<> should accept a DataEditingEventArgs parameter, providing information about the event when the user completes dragging a data point.
OnDataLabelRender
An event that is raised before the data label for a series is rendered.
Declaration
public Action<TextRenderEventArgs> OnDataLabelRender { get; set; }
Property Value
Type |
---|
System.Action<TextRenderEventArgs> |
Remarks
The System.Action<> should accept a TextRenderEventArgs parameter, providing information about the rendering event for a data label.
OnExportComplete
A callback that will be invoked when the chart is being exported.
Declaration
public Action<ExportEventArgs> OnExportComplete { get; set; }
Property Value
Type |
---|
System.Action<ExportEventArgs> |
Remarks
You can customize the exporting operation through the ExportEventArgs event argument.
OnLegendClick
An event that is raised when a legend item is clicked.
Declaration
public EventCallback<LegendClickEventArgs> OnLegendClick { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<LegendClickEventArgs> |
Remarks
The System.Action<> should accept a LegendClickEventArgs parameter, providing information about the click event on the legend item.
OnLegendItemRender
An event that is raised before each legend item is rendered.
Declaration
public Action<LegendRenderEventArgs> OnLegendItemRender { get; set; }
Property Value
Type |
---|
System.Action<LegendRenderEventArgs> |
Remarks
The System.Action<> should accept a LegendRenderEventArgs parameter, providing information about the rendering event for a legend item.
OnMultiLevelLabelClick
An event that is raised after a click on a multi-level label.
Declaration
public Action<MultiLevelLabelClickEventArgs> OnMultiLevelLabelClick { get; set; }
Property Value
Type |
---|
System.Action<MultiLevelLabelClickEventArgs> |
Remarks
The System.Action<> should accept a MultiLevelLabelClickEventArgs parameter, providing information about the click event on a multi-level label.
OnPointClick
An event that is raised on a point click event.
Declaration
public EventCallback<PointEventArgs> OnPointClick { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<PointEventArgs> |
Remarks
The System.Action<> should accept a PointEventArgs parameter, providing information about the click event on a data point.
OnPointRender
An event that is raised before each data point for the series is rendered.
Declaration
public Action<PointRenderEventArgs> OnPointRender { get; set; }
Property Value
Type |
---|
System.Action<PointRenderEventArgs> |
Remarks
The System.Action<> should accept a PointRenderEventArgs parameter, providing information about the rendering event for a data point in the series.
OnPrintComplete
An event that is raised after the print operation is completed.
Declaration
public Action OnPrintComplete { get; set; }
Property Value
Type |
---|
System.Action |
Remarks
The System.Action should be used to handle events after the completion of the print operation.
OnScrollChanged
An event that is raised when the scroll changes.
Declaration
public Action<ScrollEventArgs> OnScrollChanged { get; set; }
Property Value
Type |
---|
System.Action<ScrollEventArgs> |
Remarks
The System.Action<> should accept a ScrollEventArgs parameter, providing information about the event when the scroll is changed.
OnSelectionChanged
An event that is raised after the selection is completed.
Declaration
public Action<SelectionCompleteEventArgs> OnSelectionChanged { get; set; }
Property Value
Type |
---|
System.Action<SelectionCompleteEventArgs> |
Remarks
The System.Action<> should accept a SelectionCompleteEventArgs parameter, providing information about the event when the selection operation is completed.
OnSeriesRender
An event that is raised before each series is rendered.
Declaration
public Action<SeriesRenderEventArgs> OnSeriesRender { get; set; }
Property Value
Type |
---|
System.Action<SeriesRenderEventArgs> |
Remarks
The System.Action<> should accept a SeriesRenderEventArgs parameter, providing information about the rendering event for a series.
OnZoomEnd
An event that is raised after the zooming operation is completed.
Declaration
public Action<ZoomingEventArgs> OnZoomEnd { get; set; }
Property Value
Type |
---|
System.Action<ZoomingEventArgs> |
Remarks
The System.Action<> should accept a ZoomingEventArgs parameter, providing information about the event when the zooming operation is completed.
OnZooming
An event that is raised during the zooming operation.
Declaration
public Action<ZoomingEventArgs> OnZooming { get; set; }
Property Value
Type |
---|
System.Action<ZoomingEventArgs> |
Remarks
The System.Action<> should accept a ZoomingEventArgs parameter, providing information about the event that occurs during the zooming operation.
OnZoomStart
An event that is raised at the start of the zooming operation.
Declaration
public Action<ZoomingEventArgs> OnZoomStart { get; set; }
Property Value
Type |
---|
System.Action<ZoomingEventArgs> |
Remarks
The System.Action<> should accept a ZoomingEventArgs parameter, providing information about the event at the beginning of the zooming operation.
SharedTooltipRender
An event that is raised before the tooltip for a series is rendered.
Declaration
public Action<SharedTooltipRenderEventArgs> SharedTooltipRender { get; set; }
Property Value
Type |
---|
System.Action<SharedTooltipRenderEventArgs> |
Remarks
The System.Action<> should accept a SharedTooltipRenderEventArgs parameter, providing information about the rendering event for the shared tooltip of a series.
SizeChanged
An event that is raised after the chart has been resized.
Declaration
public Action<ResizeEventArgs> SizeChanged { get; set; }
Property Value
Type |
---|
System.Action<ResizeEventArgs> |
Remarks
The System.Action<> should accept a ResizeEventArgs parameter, providing information about the event that occurs after the chart is resized.
TooltipRender
An event that is raised before the tooltip for a series is rendered.
Declaration
public Action<TooltipRenderEventArgs> TooltipRender { get; set; }
Property Value
Type |
---|
System.Action<TooltipRenderEventArgs> |
Remarks
The System.Action<> should accept a TooltipRenderEventArgs parameter, providing information about the rendering event for the tooltip of a series.
Methods
OnParametersSet()
Declaration
protected override void OnParametersSet()