ClassChartZoomableMousewheel
Configures mouse wheel zooming functionality for intuitive chart navigation and data exploration. Provides comprehensive control over wheel-based zooming behavior including zoom rate, axis locking, and interaction responsiveness. Use this component to enable smooth, precise zooming that allows users to quickly focus on specific data ranges or examine details at different scales.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChartZoomableMousewheel : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentChartZoomableMousewheel
Implements:
Inherited Members
Constructors
ChartZoomableMousewheel()
Declaration
public ChartZoomableMousewheel()
Properties
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
Enabled
Controls whether mouse wheel zooming is enabled for intuitive chart navigation and data exploration. When set to true, users can zoom in and out using the mouse wheel for quick data range examination. Set to false to disable wheel zooming while maintaining other zoom methods like selection-based zooming. Mouse wheel zooming provides immediate, responsive interaction for detailed data analysis and chart exploration.
Lock
Specifies which axis should be locked and excluded from mouse wheel zooming operations for controlled data exploration. Use this property to restrict zooming to specific axes while keeping others fixed for comparative analysis or maintaining context. For example, lock the X-axis to maintain time scale while allowing Y-axis zooming for value examination, or vice versa. See ChartAxisLock for available axis locking options and their use cases in different chart scenarios.
Declaration
[Parameter]
public ChartAxisLock? Lock { get; set; }
Property Value
Rate
Specifies the zoom rate as a percentage of the axis range for controlling zoom sensitivity and user experience. The default value is 0.3 (30% of the axis range), providing balanced zoom increments that are neither too aggressive nor too subtle. Lower values (0.1-0.2) create finer zoom control for precise data examination, while higher values (0.5-0.8) enable rapid range changes. Adjust the rate based on your data density and user interaction preferences for optimal chart exploration experience.
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
OnAfterRender(bool)
Declaration
protected override void OnAfterRender(bool firstRender)
Parameters
firstRender
Overrides
OnInitialized()
Declaration
protected override void OnInitialized()
Overrides
OnParametersSet()
Declaration
protected override void OnParametersSet()
Overrides
Serialize()
Declaration
public Dictionary<string, object> Serialize()
Returns