# chartjs-plugin-zoom - v1.0.1
# Variables
# default
• Const
default: Plugin
Defined in: index.d.ts:29 (opens new window)
# Functions
# pan
▸ pan(chart
: Chart, amount
: PanAmount, scales?
: Scale[], mode?
: UpdateMode): void
# Parameters
Name | Type |
---|---|
chart | Chart |
amount | PanAmount |
scales? | Scale[] |
mode? | UpdateMode |
Returns: void
Defined in: index.d.ts:33 (opens new window)
# resetZoom
▸ resetZoom(chart
: Chart, mode?
: UpdateMode): void
# Parameters
Name | Type |
---|---|
chart | Chart |
mode? | UpdateMode |
Returns: void
Defined in: index.d.ts:36 (opens new window)
# zoom
▸ zoom(chart
: Chart, amount
: ZoomAmount, mode?
: UpdateMode): void
# Parameters
Name | Type |
---|---|
chart | Chart |
amount | ZoomAmount |
mode? | UpdateMode |
Returns: void
Defined in: index.d.ts:34 (opens new window)
# zoomScale
▸ zoomScale(chart
: Chart, scaleId
: string, range
: ScaleRange, mode?
: UpdateMode): void
# Parameters
Name | Type |
---|---|
chart | Chart |
scaleId | string |
range | ScaleRange |
mode? | UpdateMode |
Returns: void
Defined in: index.d.ts:35 (opens new window)