Home > @visualization-tools/cartesian-2d > Cartesian2dInteractionHandler
Default interaction handler for cartesian 2d. Allows panning, zooming with mouse and touch events like pinch zoom. Ranges are restricted to avoid float precision issues, see Cartesian2dFloatPrecisionRangeBounder.
Signature:
export declare class Cartesian2dInteractionHandler<TTraits> implements IInteractionStateChangeCallbacks<TTraits>
Implements: IInteractionStateChangeCallbacks<TTraits>
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(chart, plot, listeners) | Constructs a new instance of the Cartesian2dInteractionHandler class |