Skip to content

chartjs-plugin-zoom / zoom

Function: zoom() ​

ts
function zoom(
   chart, 
   amount, 
   transition?, 
   trigger?
): void;

Defined in: core.ts:185

Parameters ​

chart ​

Chart

amount ​

ZoomAmount

transition? ​

| "default" | "none" | "hide" | "show" | "active" | "resize" | "zoom" | "reset" = 'none'

trigger? ​

ZoomTrigger = 'api'

Returns ​

void

MIT Licensed