ChartPannable
Configures chart panning functionality to enable interactive chart navigation. Allows users to pan (scroll) through chart data by dragging the chart plot area, providing smooth data exploration for large datasets. Supports keyboard modifiers and axis locking to control panning behavior and enhance user experience.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChartPannable : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentChartPannable
Implements:
Inherited Members
Constructors
public ChartPannable()
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
protected override void OnInitialized()
Overrides:
protected override void OnParametersSet()
Overrides:
Properties
[Parameter]
public RenderFragment ChildContent { get; set; }
Enables or disables chart panning functionality. When true, users can drag the chart plot area to navigate through data, providing smooth scrolling for large datasets. When false, panning is disabled and the chart remains static. Default behavior depends on chart configuration and data size.
[Parameter]
public bool? Enabled { get; set; }
Specifies the keyboard modifier key that must be pressed to activate panning. Use ChartPannableKey values like Ctrl, Alt, or Shift to prevent accidental panning during other interactions. When set, users must hold the specified key while dragging to pan the chart.
[Parameter]
public ChartPannableKey? Key { get; set; }
Restricts panning to specific chart axes using ChartAxisLock values. Set to prevent panning along certain axes (X, Y, or both) to maintain data context or enforce specific navigation patterns. Useful for time-series charts where only horizontal scrolling is desired.
[Parameter]
public ChartAxisLock? Lock { get; set; }