parse
parses an object or a string and fill the chart with the parsed items
void parse(string|object|array data,string type);
data | string|object|array | the data source |
type | string | the 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
Back to top