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

class anychart.ui.GanttToolbar Improve this Doc

Methods Overview

Specific settings
target()Target for controled chart.
Miscellaneous
container()Toolbar container.
draw()Draws toolbar.

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: