Zoom Events

zoom

Dispatches when a zoom event occurs.

AttributeTypeInfo

graphid

String

The ID of the graph object.

"mygraph" | 0 | 1 | ...

id

String

The ID of the zingchart object.

"mychart" | ...

action

String

The type of zoom action.

"zoomin" | "zoomout" | "viewall"

kmax

Numeric

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

5 | 10 | ...

kmin

Numeric

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

5 | 10 | ...

xmax

Numeric

Specifies the end position on x axis.

5 | 10 | ...

xmin

Numeric

Specifies the start position on x axis.

5 | 10 | ...

ymax

Numeric

Specifies the end position on y axis.

5 | 10 | ...

ymin

Numeric

Specifies the start position on y axis.

5 | 10 | ...

zoomx

Boolean

Specifies if the zoom was performed on x axis.

true | false | 1 | 0

zoomy

Boolean

Specifies if the zoom was performed on y axis.

true | false | 1 | 0

On This Page