Skip to content

charton API


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

Function: dropNode() ​

dropNode(chart, node, target): boolean

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

Drop node on target: a drawing takes the place of another drawing of its pane, a pane the place of another pane, and a series moves into the pane of the row it lands on. Returns whether anything moved.

Parameters ​

chart ​

Chart

node ​

ObjectTreeNode

target ​

ObjectTreeNode

Returns ​

boolean