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 items ID by index
- indexById - returns items index by ID
- next - gets next ID
- previous - gets previous Id
- first - gets ID of first item
- last - gets ID of last item

Data loading

- parse - adds data from string or object
- load - adds data from external URL