DHTMLX Docs & Samples Explorer

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
  • addSeries - adds the new data property representation
  • remove - removes an item by its id
  • get - returns hash of data associated with ID
  • set - associates hash of data with ID
  • filter - filters dataset
  • group - groups data by a certain property
  • sort - sorts dataset

Data loading

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