Creates an instance of the MouseWheelZoomModifier3D
optional parameters of type IMouseWheelZoomModifier3DOptions used to configure the modifier
Stores info about active pointerdown events
Defines the sensitivity of zooming
A unique Id for the IChartModifierBase
A callback to invalidate the parent SciChartSurfaceBase
Specifies a string ID to group modifiers.
touch points X coordinates difference
touch points Y coordinates difference
When true, this modifier can receive mouse events
The operation that modifier should respond to
The operation that modifier should respond to
When true, the modifier is attached to a SciChartSurfaceBase
When true, the modifier is enabled
When true, the modifier is enabled
The type of Chart Modifier, see EModifierType for a list of values
When true, this modifier should receive events which have been handled by modifiers higher up in the call hierachy.
When true, this modifier should receive events which have been handled by modifiers higher up in the call hierachy.
Applies a theme (defined by IThemeProvider) to the current element
The theme data to apply
Deletes native (WebAssembly) memory used by this type, after which it cannot be used.
Notifies the parent surface that a property has changed by calling invalidateParentCallback
the property name which has changed
Called when the modifier is attached to a parent SciChartSurfaceBase
Called when a RenderableSeries is attached to this modifier
Called when a SciChartSubSurface} is attached to the parent SciChartSurface
Called when the modifier is detached from a parent SciChartSurfaceBase
Called when a RenderableSeries is detached from this modifier
Called when a SciChartSubSurface is detached from the parent SciChartSurface
Called when the parent SciChartSurfaceBase is rendered
Performs the zoom operation around the mouse point
The X,Y location of the mouse at the time of the zoom
horizontal distance between points
vertical distance between points
Handles pointer event becoming inactive
pointer event properties
Sets the parent SciChartSurfaceBase on this modifier
Convert the object to a definition that can be serialized to JSON, or used directly with the builder api
Generated using TypeDoc
The PinchZoomModifier3D provides pinch zooming behavior on a 3D SciChart3DSurface within SciChart - High Performance JavaScript 3D Charts
To apply the PinchZoomModifier3D to a SciChart3DSurface and add pinch zoom behavior, use the following code:
const sciChartS3Durface: SciChart3DSurface; sciChart3DSurface.chartModifiers.add(new PinchZoomModifier3D());
The speed of zoom can be modified via the {@link PinchZoomModifier3D.mouseWheelSensitivity} property.