DHTMLX Docs & Samples Explorer
Index
dhtmlxchart
dhtmlxChart API Methods by Category
Configuration
define
- sets a property to chart configuration
attachEvent
- attaches handler for the custom event
detachEvent
- detaches handler from the custom event
Data manipulation
add
- adds the new data object
remove
- removes an item by its id
clearAll
- clears dataset
get
- returns hash of data associated with ID
set
- associates hash of data with ID
refresh
- forces data repainting
filter
- filters dataset
group
- groups data by a certain property
sort
- sorts dataset
dataCount
- returns size of dataset
exists
- checks if item with defined id exists
idByIndex
- returns item ID by index
indexById
- returns item index by ID
next
- gets next ID
previous
- gets previous Id
first
- gets ID of the first item
last
- gets ID of the last item
Data loading
parse
- adds data from string or object
load
- adds data from external
URL
Series
addSeries
- adds the new data property representation
hideSeries
- hides a series with the specified index
showSeries
- shows a series with the specified index