Skip to content

chartjs-plugin-zoom / zoomScale

Function: zoomScale() ​

ts
function zoomScale(
   chart, 
   scaleId, 
   range, 
   transition?, 
   trigger?
): void;

Defined in: core.ts:241

Parameters ​

chart ​

Chart

scaleId ​

string

range ​

ScaleRange<ScaleValue>

transition? ​

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

trigger? ​

ZoomTrigger = 'api'

Returns ​

void

MIT Licensed