Methods

add adds the new data object and redraws a chart
addSeries adds the new data property representation and redraws the chart. The method allows to represent several data propeties on one chart at the same time
attachEvent adds any user-defined handler to available events
clearAll removes all data from component and repaints component.
dataCount returns the total count of items in a chart. In case of dynamic loading the method returns the expected count of items
define configures a property of chart
destructor destructs the chart object
detachEvent detaches a handler from an event
exists returns true if the item with defined ID already exists
filter filters dataview by provided parameters
first returns ID of first item ( item with index == 0 )
get returns hash of data, related to specific ID
group groups data by a certain property. The method get an object with the following properties as a parameter:
hideSeries hides a series with the specified index
idByIndex returns the ID of item with the specified index
indexById returns the index of the item with the specified ID
last returns the ID of the last item ( item with index == dataCount-1 )
load loads data to the component via XML or JSON, usually data-values pairs
next returns the ID of the next item ( item with index == current + 1 )
parse parses an object or a string and fill the chart with the parsed items
previous returns the ID of the previous item ( item with index == current - 1 )
refresh redraws the whole chart
remove removes an item by its ID and redraws a chart.
render draws a chart according to the specified configuration and data
serialize serialize component back to json
set associates hash of data with some ID
showSeries shows a series with the specified index
sort adds any user-defined handler to available events
ungroup ungroups chart
update updates some item in the chart
Back to top