AnyChart
API Reference
Still have questions?
Contact support
Top

namespace anychart Improve this Doc

Core space for all anychart components.

Constants Overview

DEVELOPDefines if it is developer edition.
VERSIONThe current version of the framework.

Functions Overview

appendTheme()Append theme for anychart globally.
area()Creates and returns an Area Chart.
area3d()Creates and returns an Area 3D Chart.
bar()Creates and returns a Bar Chart.
bar3d()Creates and returns a Bar 3D Chart.
barmekko()Creates and returns a Barmekko Chart.
box()Creates and returns a Box Chart.
bubble()Creates and returns a Bubble Chart.
bubbleMap()Creates and returns a Bubble Map.
bullet()Creates and returns a Bullet Chart.
calendar()Creates and returns a Calendar Chart.
candlestick()Creates and returns a Candlestick Chart.
cartesian()Creates and returns a Cartesian chart.
cartesian3d()Creates and returns a Cartesian 3D chart.
choropleth()Creates and returns a Choropleth Map.
circlePacking()Creates and returns a Circle Packing chart.
column()Creates and returns a Column Chart.
column3d()Creates and returns an Column 3D Chart.
connector()Creates and returns a Connector Map.
editor()Creates Chart Editor.
fromJson()Creates an element by JSON config.
fromJsonFile()Creates a chart from JSON configuration.
fromXml()Creates an element by XML config.
fromXmlFile()Creates a chart using XML configuration.
funnel()Creates and returns a Funnel Chart.
ganttProject()Creates and returns a Gantt Project Chart.
ganttResource()Creates and returns a Gantt Resource Chart.
getChartById()Returns tracking chart by it's id.
graph()Creates and returns an instance of Graph Chart.
heatMap()Creates and returns a Heat Map.
hilo()Creates and returns a HiLo Chart
jumpLine()Creates and returns a JumpLine Chart.
licenseKey()Setter for AnyChart license key.
line()Creates and returns a Line Chart.
line3d()Creates and returns a Line 3D Chart.
map()Creates and returns a Map.
marker()Creates and returns a Marker Chart.
markerMap()Creates and returns a Marker Map.
mekko()Creates and returns a Mekko Chart.
mosaic()Creates and returns a Mosaic Chart.
ohlc()Creates and returns an OHLC Chart.
onDocumentLoad()Adds callback for the document load event.
onDocumentReady()Adds callback for the document ready event.
pareto()Creates and returns a Pareto Chart.
pert()Creates and returns a Pert Chart.
pie()Creates and returns a Pie Chart.
pie3d()Creates and returns a 3D Pie Chart.
polar()Creates and returns a Polar Chart.
pyramid()Creates and returns a Pyramid Chart.
quadrant()Creates and returns a Quadrant Chart.
radar()Creates and returns a Radar chart.
resource()Creates and returns a Resource Chart.
sankey()Creates and returns a Sankey.
scatter()Creates and returns a Scatter Chart.
seatMap()Creates and returns a Seat map.
sparkline()Creates and returns a Sparkline Chart.
stepLine()Creates and returns a StepLine Chart.
stick()Creates and returns a Stick Chart.
stock()Creates and returns a Stock Chart.
sunburst()Creates and returns a Sunburst Chart.
surface()Creates and returns a Surface chart.
tagCloud()Creates and returns a Tag Cloud.
theme()Sets the theme for or gets the current theme.
timeline()Creates and returns a Timeline Chart.
treeMap()Creates and returns a Tree Map.
venn()Creates and returns a Venn Chart.
vertical()Creates and returns a Vertical Chart.
verticalArea()Creates and returns a Vertical Area Chart.
verticalLine()Creates and returns a Vertical Line chart.
waterfall()Creates and returns a Waterfall chart.
wordtree()Creates and returns a Wordtree chart.

Classes Overview

anychart.SignalEventSpecial event for changes in dirty states.

Constants Description

Defines if it is developer edition.

Type: boolean

The current version of the framework.

Type: string

Functions Description

appendTheme

Append theme for anychart globally.
This method applies the theme or theme settings over the existing theme.

Params:

NameTypeDescription
valuestring | ObjectAn object with theme settings or the name of the theme.

area

Creates and returns an Area Chart. Each passed parameter is considered as a set of data which is to become a base for the Area Series.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayArea chart data.

Returns:

anychart.charts.Cartesian - Chart with defaults for area series.

area3d

Creates and returns an Area 3D Chart. Each passed parameter is considered as a set of data which is to become a base for the Area Series.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayArea chart data.

Returns:

anychart.charts.Cartesian3d - Chart with defaults for 3D Area.

bar

Creates and returns a Bar Chart. Each passed parameter is considered as a set of data which is to become a base for the Bar Series.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayBar chart data.

Returns:

anychart.charts.Cartesian - Chart with defaults for bar series.

bar3d

Creates and returns a Bar 3D Chart. Each passed parameter is considered as a set of data which is to become a base for the Bar Series.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayBar chart data.

Returns:

anychart.charts.Cartesian3d - Chart with defaults for 3D Bar.

barmekko

Creates and returns a Barmekko Chart. A linear scale is used for Y-axis by default. Also, uses stack mode set to 'value'.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayMekko chart data.

Returns:

anychart.charts.Mekko - Chart with defaults for mekko series.

box

Creates and returns a Box Chart. Each passed parameter is considered as a set of data which is to become a base for the Box Series.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayBox chart data.

Returns:

anychart.charts.Cartesian - Chart with defaults for box series.

bubble

Creates and returns a Bubble Chart. Each passed parameter is considered as a set of data which is to become a base for the Bubble Series. To create a Bubble Chart with no predefined settings, see anychart#scatter

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayBubble chart data.

Returns:

anychart.charts.Scatter - Chart with defaults for bubble series.

bubbleMap

Creates and returns a Bubble Map.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayData for creating a Bubble Map.

Returns:

anychart.charts.Map - New map instance with a set of predefined settings suitable for bubble series.

bullet

Creates and returns a Bullet Chart.

Params:

NameTypeDescription
dataanychart.data.View | anychart.data.Set | Array | stringBullet Chart data.

Returns:

anychart.charts.Bullet - Bullet chart.

calendar

Creates and returns a Calendar Chart.

Params:

NameTypeDescription
dataanychart.data.View | anychart.data.Set | Array | stringCalendar Chart data.

Returns:

anychart.charts.Calendar - Calendar chart.

candlestick

Creates and returns a Candlestick Chart. Each passed parameter is considered as a set of data which is to become a base for the Candlestick Series.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayCandlestick chart data.

Returns:

anychart.charts.Cartesian - Chart with defaults for Candlestick series.

cartesian

Creates and returns a Cartesian chart.

Returns:

anychart.charts.Cartesian - Empty chart.

cartesian3d

Creates and returns a Cartesian 3D chart. Has no predefined settings such as grids, legends, titles settings, etc.

Returns:

anychart.charts.Cartesian3d - Empty chart.

choropleth

Creates and returns a Choropleth Map.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayData for creating a Choropleth Map.

Returns:

anychart.charts.Map - New map instance with a set of predefined settings suitable for choropleth series.

circlePacking

Creates and returns a Circle Packing chart.

Params:

NameTypeDescription
dataanychart.data.Tree | anychart.data.TreeView | Array.<Object>Data tree or raw data.
fillMethodanychart.enums.TreeFillingMethod | stringFill method.

Returns:

anychart.charts.CirclePacking - Circle Packing chart with defaults.

column

Creates and returns a Column Chart. Each passed parameter is considered as a set of data which is to become a base for the Column Series.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayColumn chart data.

Returns:

anychart.charts.Cartesian - Chart with defaults for column series.

column3d

Creates and returns an Column 3D Chart. Each passed parameter is considered as a set of data which is to become a base for the Column Series.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayColumn chart data.

Returns:

anychart.charts.Cartesian3d - Chart with defaults for column series.

connector

Creates and returns a Connector Map.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayData for creating a Connector Map.

Returns:

anychart.charts.Map - New map instance with a set of predefined settings suitable for connector series.

editor

Creates Chart Editor.
Chart Editor allows to create and work with Anychart JavaScript Charts.

To work with the Chart Editor you need to reference the extension file from AnyChart CDN (example for the versioned file: https://cdn.anychart.com/releases/8.11.1/js/anychart-editor.min.js)

Returns:

anychart.editor.Editor - Chart editor.
Sample for the editor function.
 // Create the chart editor.
var editor = anychart.editor();

editor.render(document.getElementById('container'));
See sample at https://www.anychart.com/features/chart_editor/demo.html

fromJson

Creates an element by JSON config.

Params:

NameTypeDescription
jsonConfigObject | stringConfig.

Returns:

* - Element created by config.

fromJsonFile

Creates a chart from JSON configuration.

Params:

NameTypeDescription
urlstringLink to JSON file
onSuccessOrContainerstring | functionThe function that is launched after chart is successfully loaded
onErrorfunctionThe function that is launched if chart loading fails
methodstringSend method
contentArrayBuffer | ArrayBufferView | Blob | Document | FormData | stringData
headersObjectHeaders to add to the request
timeoutIntervalnumberNumber of milliseconds after which an incomplete request is aborted
withCredentialsbooleanWhether to send credentials with the request
context*Context for handler function

fromXml

Creates an element by XML config.

Params:

NameTypeDescription
xmlConfigstring | NodeConfig.

Returns:

* - Element created by config.

fromXmlFile

Creates a chart using XML configuration.

Params:

NameTypeDescription
urlstringLink to XML file
onSuccessOrContainerstring | functionThe function that is launched after chart is successfully loaded
onErrorfunctionThe function that is launched if chart loading fails
methodstringSend method
contentArrayBuffer | ArrayBufferView | Blob | Document | FormData | stringData
headersObjectHeaders to add to the request
timeoutIntervalnumberNumber of milliseconds after which an incomplete request is aborted
withCredentialsbooleanWhether to send credentials with the request
context*Context for handler function

funnel

Creates and returns a Funnel Chart. Contains the predefined settings for the tooltip.

Params:

NameTypeDescription
dataanychart.data.View | anychart.data.Set | Array | stringData for the chart.
csvSettingsanychart.enums.TextParsingMode | anychart.data.TextParsingSettingsIf CSV string is passed, you can pass CSV parser settings here as a hash map.

Returns:

anychart.charts.Funnel - Funnel Chart.

ganttProject

Creates and returns a Gantt Project Chart.

Returns:

anychart.charts.Gantt - Gantt Project Chart

ganttResource

Creates and returns a Gantt Resource Chart.

Returns:

anychart.charts.Gantt - Gantt Resource Chart

getChartById

Returns tracking chart by it's id.

Params:

NameTypeDescription
idstringChart id to set.

Returns:

anychart.core.Chart - Returns chart.

graph

Creates and returns an instance of Graph Chart.

Params:

NameTypeDescription
dataObjectData is object with two required fields 'edges' and 'nodes'.
  1. nodes is one of
    • Array where each element is object
    • anychart.data.View
    • anychart.data.Set
  2. edges is one of
    • Array where each element is object
    • anychart.data.View
    • anychart.data.Set

Requires for node data object:
  • Data object must contain required 'id' field.
  • For fixed layout data must contain 'x' and 'y' fields otherwise it will be placed at (0:0) coordinate.
  • Define group field, if you want group nodes, nodes of same group must has equal group id
Requires for edge data object:
  • edge object must contain required 'from' and 'to' fields, this fields is ids of nodes that mean nodes dataset must contain nodes with this ids
  • id field is not required but if you want have access to it you need pass it too
You can pass with data all settings you can setup though methods of this element, fill, stoke and etc.

Returns:

anychart.charts.Graph - Graph chart.

heatMap

Creates and returns a Heat Map.
Note: Contains predefined settings for axes and grids.

Params:

NameTypeDescription
dataanychart.data.View | anychart.data.Set | Array | stringData for the chart.
csvSettingsanychart.enums.TextParsingMode | string | anychart.data.TextParsingSettingsIf CSV string is passed, you can pass CSV parser settings here as a hash map.

Returns:

anychart.charts.HeatMap - Heat map chart.

hilo

Creates and returns a HiLo Chart

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayHiLo chart data.

Returns:

anychart.charts.Cartesian - Chart with defaults for HiLo series.

jumpLine

Creates and returns a JumpLine Chart. Each passed parameter is considered as a set of data which is to become a base for the JumpLine Series.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayJumpLine chart data.

Returns:

anychart.charts.Cartesian - Chart with defaults for jumpLine series.

licenseKey

Setter for AnyChart license key.
To purchase a license proceed to Buy AnyChart page.

Params:

NameTypeDescription
keystringYour licence key.

Returns:

string - Current license key.

line

Creates and returns a Line Chart. Each passed parameter is considered as a set of data which is to become a base for the Line Series.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayLine chart data.

Returns:

anychart.charts.Cartesian - Chart with defaults for line series.

line3d

Creates and returns a Line 3D Chart. Each passed parameter is considered as a set of data which is to become a base for the Line Series.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayLine chart data.

Returns:

anychart.charts.Cartesian3d - Chart with defaults for 3D Line.

map

Creates and returns a Map.

Returns:

anychart.charts.Map - Map.

marker

Creates and returns a Marker Chart. Each passed parameter is considered as a set of data which is to become a base for the Marker Series. To create a Marker Chart with no predefined settings, see anychart#scatter

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayMarker chart data.

Returns:

anychart.charts.Scatter - Chart with defaults for marker series.

markerMap

Creates and returns a Marker Map.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayData for creating a Marker Map.

Returns:

anychart.charts.Map - New map instance with a set of predefined settings suitable for marker series.

mekko

Creates and returns a Mekko Chart. A linear scale is used for Y-axis by default. Points padding is set to 0.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayMekko chart data.

Returns:

anychart.charts.Mekko - Chart with defaults for mekko series.

mosaic

Creates and returns a Mosaic Chart. A ordinal scale is used for Y-axis by default.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayMekko chart data.

Returns:

anychart.charts.Mekko - Chart with defaults for mekko series.

ohlc

Creates and returns an OHLC Chart. Each passed parameter is considered as a set of data which is to become a base for the OHLC Series.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayOHLC chart data.

Returns:

anychart.charts.Cartesian - Chart with defaults for OHLC series.

onDocumentLoad

Adds callback for the document load event.
It is fired when the entire page loads, including its content (images, CSS, scripts, etc.).

Params:

NameTypeDescription
funcfunctionA function which is called on document load event.
scope*Function call context.

onDocumentReady

Adds callback for the document ready event.
It is called when the DOM is ready, this can happen prior to loading images and other external content.

Params:

NameTypeDescription
funcfunctionA function which is called on document load event.
scope*Function call context.

pareto

Creates and returns a Pareto Chart.

Params:

NameTypeDescription
dataanychart.data.View | anychart.data.Set | ArrayPareto chart data.

Returns:

anychart.charts.Pareto - Chart with defaults for line and column series.

pert

Creates and returns a Pert Chart.

Returns:

anychart.charts.Pert - Pert chart.

pie

Creates and returns a Pie Chart.

Params:

NameTypeDescription
dataanychart.data.View | anychart.data.Set | Array | stringData for the chart.

Returns:

anychart.charts.Pie - Pie chart.

pie3d

Creates and returns a 3D Pie Chart.

Params:

NameTypeDescription
dataanychart.data.View | anychart.data.Set | Array | stringData for the chart.
csvSettingsanychart.enums.TextParsingMode | string | anychart.data.TextParsingSettingsIf CSV string is passed, you can pass CSV parser settings here as a hash map.

Returns:

anychart.charts.Pie - Chart with defaults for 3D Pie.

polar

Creates and returns a Polar Chart.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayMarker chart data.

Returns:

anychart.charts.Polar - Chart with defaults for marker series.

pyramid

Creates and returns a Pyramid Chart. Contains the predefined settings for the tooltip.

Params:

NameTypeDescription
dataanychart.data.View | anychart.data.Set | Array | stringData for the chart.
csvSettingsanychart.enums.TextParsingMode | anychart.data.TextParsingSettingsIf CSV string is passed, you can pass CSV parser settings here as a hash map.

Returns:

anychart.charts.Pyramid - Pyramid Chart.

quadrant

Creates and returns a Quadrant Chart. Each passed parameter is considered as a set of data which is to become a base for the Marker Series. To create a Quadrant Chart with no predefined settings, see anychart#scatter

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayMarker chart data.

Returns:

anychart.charts.Scatter - Chart with defaults for marker series.

radar

Creates and returns a Radar chart.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayLine chart data.

Returns:

anychart.charts.Radar - Chart with defaults for Line series.

resource

Creates and returns a Resource Chart.

Params:

NameTypeDescription
dataanychart.data.View | anychart.data.Set | Array | stringResource chart data.
csvSettingsanychart.enums.TextParsingMode | anychart.data.TextParsingSettingsIf CSV string is passed, you can pass CSV parser settings here as a hash map.

Returns:

anychart.charts.Resource - Resource Chart.

sankey

Creates and returns a Sankey.

Returns:

anychart.charts.Sankey - Sankey chart.

scatter

Creates and returns a Scatter Chart. By default creates marker series if arguments is set.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayMarker chart data.

Returns:

anychart.charts.Scatter - Chart with defaults for scatter series.

seatMap

Creates and returns a Seat map.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayData for creating a Seat Map.

Returns:

anychart.charts.Map - New map instance with a set of predefined settings suitable for seatMap series.

sparkline

Creates and returns a Sparkline Chart.

Params:

NameTypeDescription
dataanychart.data.View | anychart.data.Set | Array | stringValue to set.
csvSettingsanychart.enums.TextParsingMode | string | anychart.data.TextParsingSettingsIf CSV string is passed, you can pass CSV parser settings here as a hash map.

Returns:

anychart.charts.Sparkline - Chart with defaults for marker series.

stepLine

Creates and returns a StepLine Chart. Each passed parameter is considered as a set of data which is to become a base for the StepLine Series.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayStepLine chart data.

Returns:

anychart.charts.Cartesian - Chart with defaults for stepLine series.

stick

Creates and returns a Stick Chart. Each passed parameter is considered as a set of data which is to become a base for the Stick Series.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayStick chart data.

Returns:

anychart.charts.Cartesian - Chart with defaults for stick series.

stock

Creates and returns a Stock Chart.

Params:

NameTypeDefaultDescription
allowPointSettingsboolean
false
Allows to set point settings from data.
The following values are available in the context of the point:
{
index - point index, (number)
sourceColor - source color of the point (string)
iterator - series point iterator, instance of anychart.data.TableIterator
series - link to the series, instance of anychart.core.stock.series
plot - link to the plot, instance of  anychart.core.stock.Plot
chart - link to the chart, instance of anychart.charts.Stock
}

Returns:

anychart.charts.Stock - New stock chart instance.

sunburst

Creates and returns a Sunburst Chart.

Params:

NameTypeDescription
dataanychart.data.Tree | anychart.data.TreeView | Array.<Object>Data tree or raw data.
fillMethodanychart.enums.TreeFillingMethod | stringFill method.

Returns:

anychart.charts.Sunburst - Sunburst chart.

surface

Creates and returns a Surface chart.

Params:

NameTypeDescription
dataanychart.data.View | anychart.data.Set | Array | stringData for surface chart.
csvSettingsanychart.enums.TextParsingMode | string | anychart.data.TextParsingSettingsIf CSV string is passed, you can pass CSV parser settings here as a hash map.

Returns:

anychart.charts.Surface - Surface chart.

tagCloud

Creates and returns a Tag Cloud.

Params:

NameTypeDescription
dataanychart.data.View | anychart.data.Set | Array | stringData for the chart.
settingsanychart.enums.TextParsingMode | string | anychart.data.TextParsingSettingsIf CSV string is passed, you can pass CSV parser settings here as a hash map.

Returns:

anychart.charts.TagCloud - Tag Cloud with defaults.

theme

Sets the theme for or gets the current theme. Learn more about themes.

Params:

NameTypeDefaultDescription
settingsstring | Object | Array.<(string|Object)> | null
'defaultTheme'
Object with theme settings or name of the theme or array of objects/names of the themes.

Returns:

string | Object | Array.<(string|Object)> - Object with theme settings.

timeline

Creates and returns a Timeline Chart.

Params:

NameTypeDescription
dataanychart.data.View | anychart.data.Set | ArrayData for the chart.

Returns:

anychart.charts.Timeline - Timeline chart.

treeMap

Creates and returns a Tree Map.

Params:

NameTypeDescription
dataanychart.data.Tree | anychart.data.TreeView | Array.<Object>Data tree or raw data.
fillMethodanychart.enums.TreeFillingMethod | stringFill method.

Returns:

anychart.charts.TreeMap - Tree map chart with defaults.

venn

Creates and returns a Venn Chart.

Params:

NameTypeDescription
dataanychart.data.View | anychart.data.Set | Array | stringData for the chart.
csvSettingsObject.<string, (string|boolean)>If CSV string is passed, you can pass CSV parser settings here as a hash map.

Returns:

anychart.charts.Venn - Venn chart.

vertical

Creates and returns a Vertical Chart. Each passed parameter is considered as a set of data which is to become a base for the Bar Series.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayVertical chart data.

Returns:

anychart.charts.Cartesian - Chart with defaults for bar series.

verticalArea

Creates and returns a Vertical Area Chart. Each passed parameter is considered as a set of data which is to become a data set for an Area Series.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayVertical Area chart data.

Returns:

anychart.charts.Cartesian - Chart with defaults for vertical area series.

verticalLine

Creates and returns a Vertical Line chart. Each passed parameter is considered as a set of data which is to become a data set for a Line Series.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayVertical Line chart data.

Returns:

anychart.charts.Cartesian - Chart with defaults for vertical line series.

waterfall

Creates and returns a Waterfall chart.

Params:

NameTypeDescription
var_argsanychart.data.View | anychart.data.Set | ArrayWaterfall chart data.

Returns:

anychart.charts.Waterfall - Chart with defaults for waterfall series.

wordtree

Creates and returns a Wordtree chart.

Params:

NameTypeDescription
dataanychart.data.Tree | string | Array.<Object> | Array.<Array.<string>> | Array.<string> | nullChart data to set.
fillMethodanychart.enums.TreeFillingMethod | stringFill method.

Returns:

anychart.charts.Wordtree - Wordtree chart.