Provides pan and zoom behavior for a chart, allowing configuration of pan and zoom modes and double-tap handling.
Definition
Namespace:Telerik.Maui.Controls.Compatibility.Chart
Assembly:Telerik.Maui.Controls.Compatibility.dll
Syntax:
public class ChartPanAndZoomBehavior : ChartBehavior
Inheritance: objectChartElementChartBehaviorChartPanAndZoomBehavior
Inherited Members
Constructors
public ChartPanAndZoomBehavior()
Fields
HandleDoubleTapProperty
BindableProperty
Identifies the HandleDoubleTap property.
public static readonly BindableProperty HandleDoubleTapProperty
PanModeProperty
BindableProperty
Identifies the PanModeProperty property.
public static readonly BindableProperty PanModeProperty
ZoomModeProperty
BindableProperty
Identifies the ZoomMode property.
public static readonly BindableProperty ZoomModeProperty
Properties
Gets or sets a value indicating whether a Double-tap gesture will be handled by the behavior to reset the current Zoom and PanOffset values.
public bool HandleDoubleTap { get; set; }
Gets or sets the ChartPanZoomMode value that specifies how the chart will respond to a pan gesture.
public ChartPanZoomMode PanMode { get; set; }
Gets or sets the ChartPanZoomMode value that specifies how the chart will respond to a zoom gesture.
public ChartPanZoomMode ZoomMode { get; set; }