Zoom

Zoom Events

zoom

Dispatches when a zoom event occurs.

AttributeTypeInfo
graphidString

The ID of the graph object.

"mygraph" | 0 | 1 | ...

idString

The ID of the zingchart object.

"mychart" | ...

actionString

The type of zoom action.

"zoomin" | "zoomout" | "viewall"

kmaxNumeric

Specifies the key scale value corresponding to the end position on x axis.

5 | 10 | ...

kminNumeric

Specifies the key scale value corresponding to the start position on x axis.

5 | 10 | ...

xmaxNumeric

Specifies the end position on x axis.

5 | 10 | ...

xminNumeric

Specifies the start position on x axis.

5 | 10 | ...

ymaxNumeric

Specifies the end position on y axis.

5 | 10 | ...

yminNumeric

Specifies the start position on y axis.

5 | 10 | ...

zoomxBoolean

Specifies if the zoom was performed on x axis.

true | false | 1 | 0

zoomyBoolean

Specifies if the zoom was performed on y axis.

true | false | 1 | 0

On This Page