Class
ChartPanAndZoomBehavior

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:

cs-api-definition
public class ChartPanAndZoomBehavior : ChartBehavior

Inheritance: objectChartElementChartBehaviorChartPanAndZoomBehavior

Inherited Members ChartElement.OnPropertyChanged(string)ChartElement.Key

Constructors

ChartPanAndZoomBehavior()

Declaration

cs-api-definition
public ChartPanAndZoomBehavior()

Fields

HandleDoubleTapProperty

Identifies the HandleDoubleTap property.

Declaration

cs-api-definition
public static readonly BindableProperty HandleDoubleTapProperty

Field Value

BindableProperty

PanModeProperty

Identifies the PanModeProperty property.

Declaration

cs-api-definition
public static readonly BindableProperty PanModeProperty

Field Value

BindableProperty

ZoomModeProperty

Identifies the ZoomMode property.

Declaration

cs-api-definition
public static readonly BindableProperty ZoomModeProperty

Field Value

BindableProperty

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 PanOffset values.

Declaration

cs-api-definition
public bool HandleDoubleTap { get; set; }

Property Value

bool

PanMode

Gets or sets the ChartPanZoomMode value that specifies how the chart will respond to a pan gesture.

Declaration

cs-api-definition
public ChartPanZoomMode PanMode { get; set; }

Property Value

ChartPanZoomMode

ZoomMode

Gets or sets the ChartPanZoomMode value that specifies how the chart will respond to a zoom gesture.

Declaration

cs-api-definition
public ChartPanZoomMode ZoomMode { get; set; }

Property Value

ChartPanZoomMode