philogb / jit

The JavaScript InfoVis Toolkit provides tools for creating Interactive Data Visualizations for the Web
http://thejit.org
Other
1.51k stars 297 forks source link

export e Json Data #175

Open mermi opened 10 years ago

mermi commented 10 years ago

Hello, i used Rgraph example to draw a graphe , i passed tha init function with a param "id" and with this id in the init function i want to export the Json file from /Data function init(id){

//init data

var json = $.getJSON("Data/"+id+".json"); alert(json[1]);}the alert appear empty. how can i export a Json File ?!