DHTMLX Docs & Samples Explorer

dhtmlxChart API Methods (Alphabetical List)

  • add - adds a new data item
  • addSeries - adds new data property representation
  • attachEvent - attaches handler for a 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 the specified 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
  • hideSeries - hides a series with the specified index
  • idByIndex - returns the item ID by its index
  • indexById - returns the item index by its 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
  • showSeries - shows a series with the specified index
  • sort - sorts dataset