DHTMLX Docs & Samples Explorer

dhtmlxChart API Methods (Alphabetical List)

  • add - adds the new data item
  • addSeries - adds the new data property representation
  • attachEvent - attaches handler for the custom event
  • clearAll - clears dataset
  • dataCount - returns size of dataset
  • detachEvent - detaches handler from the custom event
  • define - sets a property to chart configuration
  • exists - checks if an item with defined id exists
  • filter - filters dataset
  • first - gets ID of the first item
  • get - returns hash of data associated with ID
  • group - groups data by a certain property
  • idByIndex - returns an item ID by index
  • indexById - returns an item index by ID
  • last - gets the ID of the last item
  • load - adds data from an external URL
  • next - gets the next ID
  • parse - adds data from a string or an object
  • previous - gets the previous Id
  • refresh - forces data repainting
  • remove - removes an item by its id
  • set - associates the data hash with ID
  • sort - sorts dataset