Class: MouseWheelGesture

StockChartX. MouseWheelGesture


new MouseWheelGesture(config)

Represents mouse wheel gesture.
Parameters:
Name Type Argument Description
config Object <optional>
The configuration object

Extends

Members


button :number

The mouse button that needs to be used in gesture.
Type:
  • number
Inherited From:

context :Object

The execution context.
Type:
  • Object
Inherited From:

<readonly> delta :number

The wheel delta.
Type:
  • number

handler :StockChartX.Gesture~GestureHandler

Gesture event handler
Type:
Inherited From:

hitTest :StockChartX.Gesture~GestureHitTestHandler

Hit test function.
Type:
Inherited From:

<readonly> state :number

Current gesture state.
Type:
  • number
Inherited From:

Methods


handleEvent(event)

Handles event.
Parameters:
Name Type Description
event StockChartX.WindowEvent The event object.
Inherited From:
Returns:
True if event was handled, false otherwise.
Type
boolean

isActive()

Checks if gesture is active (in STARTED or CONTINUED state).
Inherited From:
Returns:
Type
boolean