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

[enum] anychart.enums.TreeFillingMethod Improve this Doc

Data fill method.
Name Value Description
AS_TABLE Using this method means that the original data will be treated as a linear array of objects each of which can be given its own ID and the ID of the parent. Sample: [code] var rawData = [ { id: _opt_value_, parent: _opt_value_, someData: _some_data_ }, ..., { id: _opt_value_, parent: _opt_value_, someData: _some_data_ } ]; [/code]
AS_TREE Using this method means that the original data will be treated as an array of objects with a hierarchical tree structure. Sample: [code] var rawData = [ { _Object_, children: [ ... ] }, ..., { _Object_, children: [ { _Object_, children: [ ... ] }, ... ] } ]; [/code]