I am converting R data frames to json format and write these to files. I like to use hightcharts to chart these json formated files. Is there a was to call external json files to build charts with hightcharts without any server side programming?
问问题
91 次
1 回答
1
You can write javascript to load a Highcharts series from an external json format file. In fact, that's what many of the samples do, including this one. If you look at the javascript code in "View options", you'll see it's loading the series from an URL:
$.getJSON('http://www.highcharts.com/samples/data/jsonp.php?...', function(data) {
// create the chart using the data loaded from the above URL
});
于 2013-06-06T16:22:52.917 回答