Skip to main content

zoomIn()

Description​

Zooms in the diagram

Usage​

zoomIn(step?: number): void;

Parameters​

  • step - (optional) the step of zooming in the diagram; by default: 0.05

Example​

const editor = new dhx.DiagramEditor("editor_container");
editor.parse(data);

editor.zoomIn(0.1);

Change log: Added in v4.1