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

class anychart.ui.Toolbar Improve this Doc

Methods Overview

Miscellaneous
container()Getter for toolbar container.
draw()Draws toolbar.
target()Getter for controlled chart.

Methods Description

container

Getter for toolbar container.

Returns:

Element undefined - Current container.

Try it:

Setter toolbar container.

Params:

Name Type Default Description
element string | Element
undefined
Element ID or a DOM node.

Returns:

anychart.core.ui.toolbar.Toolbar - Self instance for method chaining.

Try it:

draw

Draws toolbar.

Returns:

anychart.core.ui.toolbar.Toolbar - Self instance for method chaining.

Try it:

target

Getter for controlled chart.

Returns:

anychart.core.Chart undefined - Current target.

Try it:

Setter for controlled chart.

Params:

Name Type Default Description
value anychart.core.Chart
undefined
Target chart.

Returns:

anychart.core.ui.toolbar.Toolbar - Self instance for method chaining.

Try it: