Top
You are looking at an outdated 7.14.0 version of this document. Switch to the 8.0.1 version to see the up to date information.

class anychart.ui.Zoom Improve this Doc

Zoom ui element (for zoomable chart).

Methods Overview

Specific settings
decorate()Decorates the container for the zoom controller.
render()Renders the zoom controller.
target()Set Map chart for zoom controller.
Miscellaneous
dispose()Disposes zoom controller.

Methods Description

decorate

Decorates the container for the zoom controller.

Params:

Name Type Description
value Element Element to decorate.

Try it:

dispose

Disposes zoom controller. Removes it from parent layer, nulls links, removes from DOM.

Try it:

render

Renders the zoom controller.

Params:

Name Type Description
parentElement anychart.charts.Map | Element Parent element or map chart to render the range selector into.

Try it:

target

Set Map chart for zoom controller.

Params:

Name Type Description
chart anychart.charts.Map Map chart.

Try it: