Class
ChartZoomableMousewheel

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

Constructors

ChartZoomableMousewheel()

Declaration

cs-api-definition
public ChartZoomableMousewheel()

Properties

ChildContent

Declaration

cs-api-definition
[Parameter]
public RenderFragment ChildContent { get; set; }

Property Value

RenderFragment

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.

Declaration

cs-api-definition
[Parameter]
public bool? Enabled { get; set; }

Property Value

bool?

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

cs-api-definition
[Parameter]
public ChartAxisLock? Lock { get; set; }

Property Value

ChartAxisLock?

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.

Declaration

cs-api-definition
[Parameter]
public double? Rate { get; set; }

Property Value

double?

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

OnAfterRender(bool)

Declaration

cs-api-definition
protected override void OnAfterRender(bool firstRender)

Parameters

firstRender

bool

Overrides ComponentBase.OnAfterRender(bool)

OnInitialized()

Declaration

cs-api-definition
protected override void OnInitialized()

Overrides DataVizChildComponent.OnInitialized()

OnParametersSet()

Declaration

cs-api-definition
protected override void OnParametersSet()

Overrides ComponentBase.OnParametersSet()

Serialize()

Declaration

cs-api-definition
public Dictionary<string, object> Serialize()

Returns

Dictionary<string, object>