Interface ChartXYUserInteractions
Properties
Optional paginate
paginate
?: false | InteractionConfigWithOverrides<{ backward
?: { code
?: string; }; cursor
?: null | string; forward
?: { code
?: string; }; sensitivity
?: number; stopScroll
?: boolean; x
?: boolean; y
?: boolean; }, never, "shift" | "ctrl" | "alt" | "lmb" | "rmb" | "mmb">
Optional pan
pan
?: false | InteractionConfigWithOverrides<{ cursor
?: null | string; sensitivity
?: number; stopScroll
?: boolean; x
?: boolean; y
?: boolean; }, "drag" | "wheel" | "pinch", "shift" | "ctrl" | "alt" | "lmb" | "rmb" | "mmb">
Optional rectangleZoom
rectangle
Zoom
?: false | InteractionConfigWithOverrides<{ animationsEnabled
?: boolean; cursor
?: null | string; start
?: ((args
: { event
: undefined | Event; }) => unknown); stopScroll
?: boolean; x
?: boolean; y
?: boolean; }, never, "shift" | "ctrl" | "alt" | "lmb" | "rmb" | "mmb">
Optional restoreDefault
restore
Default
?: false | InteractionConfigWithOverrides<{ animationsEnabled
?: boolean; code
?: string; cursor
?: null | string; doubleClick
?: boolean; singleClick
?: boolean; stopScroll
?: boolean; }, never, "shift" | "ctrl" | "alt" | "lmb" | "rmb" | "mmb">
Optional restorePrevious
restore
Previous
?: false | InteractionConfigWithOverrides<{ code
?: string; cursor
?: null | string; doubleClick
?: boolean; singleClick
?: boolean; }, never, "shift" | "ctrl" | "alt" | "lmb" | "rmb" | "mmb">
Optional zoom
zoom
?: false | InteractionConfigWithOverrides<{ cursor
?: null | string | ((zoomType
: "in" | "out") => null | string); mode
?: "centered" | "keep-start" | "keep-end" | "toward-pointer"; sensitivity
?: number; stopScroll
?: boolean; x
?: boolean; y
?: boolean; }, "drag" | "wheel" | "pinch", "shift" | "ctrl" | "alt" | "lmb" | "rmb" | "mmb">