Skip to content

charton API


charton API / @chart-on/ui / index / buildObjectTree

Function: buildObjectTree() ​

buildObjectTree(chart, keys?): ObjectTreePaneNode[]

Defined in: ui/src/object-tree-model.ts:85

The chart's objects as a tree: one node per pane, holding its series, its indicators and its drawings, topmost drawing first. Built from the public chart API only.

Parameters ​

chart ​

Chart

keys? ​

ObjectKeys = ...

Returns ​

ObjectTreePaneNode[]