<dataseries>

A dataseries in a container for dataseries and datacolumn. dataseries can be nested.


Attributes

enabled (default: true)

enable the dataseries

 
label

label of the dataseries

 

Methods

addDataColumn (args)
add a child datacolumn
Parameters:
args (object) - args to pass in to create. It is ok to be null
 
addDataSeries (args)
add a child datasereis
Parameters:
args (object) - args to pass in to create dataseries. it is ok to be null
 
clearCache ()
clear the cache of datacolumns for the dataseries
 
getDataColumn (name)
return a datacolumn
Parameters:
name (string) - name of the datacolumn
 
getDataSeries (index)
get the dataseries of the index
Parameters:
index (Number) - the index of a leaf node dataseries
 
getDataSeriesLeafs ()
get an array of leaf node dataseries
 
getLegend ()
return xml data require for the legend
 
getNestedAttribute (attName)
get a attribute that is of the current class or inherited from the parent.
Parameters:
attName (String) - the name of the attribute
 
getNumDataSeries ()
get the number of leaf node dataseries
 
getRootDataSeries ()
get the top level
 
removeDataColumn (child)
remove child datacolumn
Parameters:
child (object) - child datacolumn
 
removeDataSeries (child)
remove child dataseries
Parameters:
child (object) - child dataseries