How do include my external XML data file to get the data for the charts?


« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Smarty on 1st February 2013
How We can Include External XML/JSON file to get the data of the RGraphs??
Posted by RGraph support on 1st February 2013
Hi,

If it's JSON you should be able to just include it like any other JavaScript file. If it's XML you may need to use AJAX. Here's some examples:

www.rgraph.net/docs/basic-csv.html
www.rgraph.net/docs/basic-json.html
www.rgraph.net/docs/basic-ajax.html

www.rgraph.net/docs/howto-json-data.html
www.rgraph.net/docs/howto-using-ajax.html



Richard

Add a reply




« Back to message list