Skip to content

chartjs-plugin-zoom / zoomRect

Function: zoomRect() ​

ts
function zoomRect(
   chart, 
   p0, 
   p1, 
   transition?, 
   trigger?
): void;

Defined in: core.ts:211

Parameters ​

chart ​

Chart

p0 ​

Point

p1 ​

Point

transition? ​

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

trigger? ​

ZoomTrigger = 'api'

Returns ​

void

MIT Licensed