Check documentation for the latest version of dhtmlxSuite parse DHTMLX Docs

parse

parses an object or a string and fill the chart with the parsed items

void parse(string|object|array data,string type);
datastring|object|arraythe data source
typestringthe type of data

Example

myChart.parse("<data> ... </data>");
//or
myChart.parse([[1,2015,35],[2,2016,50],...],"jsarray");

Details
  • "xml" - can be presented as a string only
  • "html" - can be presented as a string only
  • "json" - can be presented as a string or object
  • "jsarray" - can be presented as a string or array
  • "csv" - can be presented as a string only
See also
  • Articles
  • Back to top