Class ScrollEventArgs
Specifies the event arguments available for on scroll changed events in the chart component.
Inheritance
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class ScrollEventArgs : BaseEventArgs
Properties
Axis
Defines the current scroll axis.
Declaration
public ChartAxis Axis { get; }
Property Value
Remarks
This property provides the scroll axis that is affected during the scrolling event.
CurrentRange
Gets or sets the current range of the axis.
Declaration
public ChartAxisScrollbarSettingsRange CurrentRange { get; set; }
Property Value
Type | Description |
---|---|
ChartAxisScrollbarSettingsRange | An instance of the ChartAxisScrollbarSettingsRange class representing the current range. |
Remarks
This property allows access to the current range settings as the axis is being scrolled.
PreviousAxisRange
Gets or sets the previous range of the axis.
Declaration
public ChartAxisScrollbarSettingsRange PreviousAxisRange { get; set; }
Property Value
Type | Description |
---|---|
ChartAxisScrollbarSettingsRange | An instance of the ChartAxisScrollbarSettingsRange class representing the previous range. |
Remarks
This property provides details about the range settings of the axis prior to the scroll event for comparison purposes.
PreviousRange
Gets or sets the previous visible range of the axis.
Declaration
public VisibleRangeModel PreviousRange { get; set; }
Property Value
Type | Description |
---|---|
VisibleRangeModel | An instance of the VisibleRangeModel class representing the previous range. |
Remarks
This property provides details about the previous visible range settings.
PreviousZoomFactor
Gets or sets the previous zoom factor.
Declaration
public double PreviousZoomFactor { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A System.Double value representing the previous zoom factor. |
Remarks
This property allows tracking of zoom level changes during scrolling.
PreviousZoomPosition
Gets or sets the previous Zoom Position.
Declaration
public double PreviousZoomPosition { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A System.Double value representing the previous zoom position. |
Remarks
This property is used to record the scroll axis's position before changes occurred.
Range
Gets or sets the current visible range.
Declaration
public VisibleRangeModel Range { get; set; }
Property Value
Type | Description |
---|---|
VisibleRangeModel | An instance of the VisibleRangeModel class representing the current visible range. |
Remarks
This property reflects updates to the axis's visible range as it is being scrolled.
ZoomFactor
Gets or sets the current zoom factor.
Declaration
public double ZoomFactor { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A System.Double value representing the current zoom factor. |
Remarks
This property informs the current zoom level applied to the axis during scrolling.
ZoomPosition
Gets or sets the current Zoom Position.
Declaration
public double ZoomPosition { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A System.Double value representing the current zoom position. |
Remarks
This property indicates the axis's position affected by the scroll operation.