-
-
Method Summary
Modifier and Type Method Description static DataIteminstantiate()StringgetJsBase()DataItemaddChild(String child)Adds a child. DataItemaddChild(DataItem child)Adds a child. DataItemaddChild(DataItem child)Adds a child. DataItemaddChildAt(String child, Number index)Inserts a child into a specified position. DataItemaddChildAt(DataItem child, Number index)Inserts a child into a specified position. DataItemaddChildAt(DataItem child, Number index)Inserts a child into a specified position. DataItemdel(String var_args)Removes from data by path specified using mapping. voidget(String var_args)Gets value from data by path specified using mapping. DataItemgetChildAt(Number index)Gets the child by index. voidgetChildren()Returns a copy of children array of the current data item. DataItemgetParent()Gets a data item's parent. voidindexOfChild(DataItem child)Gets the index of child in a children array. voidindexOfChild(DataItem child)Gets the index of child in a children array. voidmeta(String key)Getter for a meta data. voidmeta(String key, String value)Setter for a meta data. voidnumChildren()Returns a length of children array. DataItemremove()Removes data item. DataItemremoveChild(DataItem child)Removes data item's child. DataItemremoveChild(DataItem child)Removes data item's child. DataItemremoveChildAt(Number index)Removes child at the specified position. DataItemremoveChildren()Removes children. DataItemset(String var_args)Sets value to the data by path. -
-
Constructor Detail
-
DataItem
DataItem(String jsChart)
-
-
Method Detail
-
instantiate
static DataItem instantiate()
-
addChildAt
DataItem addChildAt(String child, Number index)
Inserts a child into a specified position.
-
addChildAt
DataItem addChildAt(DataItem child, Number index)
Inserts a child into a specified position.
-
addChildAt
DataItem addChildAt(DataItem child, Number index)
Inserts a child into a specified position.
-
getChildAt
DataItem getChildAt(Number index)
Gets the child by index.
-
getChildren
void getChildren()
Returns a copy of children array of the current data item.
-
indexOfChild
void indexOfChild(DataItem child)
Gets the index of child in a children array.
-
indexOfChild
void indexOfChild(DataItem child)
Gets the index of child in a children array.
-
numChildren
void numChildren()
Returns a length of children array.
-
removeChild
DataItem removeChild(DataItem child)
Removes data item's child.
-
removeChild
DataItem removeChild(DataItem child)
Removes data item's child.
-
removeChildAt
DataItem removeChildAt(Number index)
Removes child at the specified position.
-
removeChildren
DataItem removeChildren()
Removes children.
-
-
-
-