ClassChartPanAndZoomBehavior
Represents a chart behavior that handles Pinch and Drag gestures and manipulates the Zoom and ScrollOffset properties of the associated RadChartBase instance.
Definition
Namespace:Telerik.UI.Xaml.Controls.Chart
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class ChartPanAndZoomBehavior : ChartBehavior
Inheritance: objectChartBehaviorChartPanAndZoomBehavior
Inherited Members
Constructors
ChartPanAndZoomBehavior()
Declaration
public ChartPanAndZoomBehavior()
Properties
HandleDoubleTap
Gets or sets a value indicating whether a Double-tap gesture will be handled by the behavior to reset the current Zoom and ScrollOffset values.
PanMode
Gets or sets the ChartPanZoomMode value that specifies how the chart will respond to a pan gesture.
Declaration
public ChartPanZoomMode PanMode { get; set; }
Property Value
ZoomMode
Gets or sets the ChartPanZoomMode value that specifies how the chart will respond to a zoom gesture.
Declaration
public ChartPanZoomMode ZoomMode { get; set; }
Property Value
Methods
OnDoubleTapped(DoubleTappedRoutedEventArgs)
If HandleDoubleTap is true, resets the current ScrollOffset and Zoom properties of the owning chart to their default values.
Declaration
protected override void OnDoubleTapped(DoubleTappedRoutedEventArgs args)
Parameters
args
DoubleTappedRoutedEventArgs
Overrides
OnManipulationDelta(ManipulationDeltaRoutedEventArgs)
Processes the Scale and Translation properties of the Delta manipulation. The event is handled if the owning chart is not in "Hold" state.
Declaration
protected override void OnManipulationDelta(ManipulationDeltaRoutedEventArgs args)
Parameters
args
ManipulationDeltaRoutedEventArgs
Overrides
OnPointerWheelChanged(PointerRoutedEventArgs)
Handles the event of the owning RadChartBase instance.
Declaration
protected override void OnPointerWheelChanged(PointerRoutedEventArgs args)
Parameters
args
PointerRoutedEventArgs
Overrides