AnyChart
API Reference
Still have questions?
Contact support
Top
You are looking at an outdated v7 version of this document. Switch to the v8 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:

NameTypeDescription
valueElementElement to decorate.

dispose

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

render

Renders the zoom controller.

Params:

NameTypeDescription
parentElementanychart.charts.Map | ElementParent element or map chart to render the range selector into.

target

Set Map chart for zoom controller.

Params:

NameTypeDescription
chartanychart.charts.MapMap chart.