hello! I am using the Dragnode of PowerCharts . However ,I encounter a problem that I can't get the data from the chart I create neither in XML or Json method . I just create a DragNode and there is no data in it , then I create the model that I want .And I hope the data can be delivered to a variable, but when I check the variable , there is nothing in data.Here is my code:
function createChart(){
if(dojo.byId("createModel").innerHTML=="start"){
var chart =new FusionCharts( "${basePath}charts/DragNode.swf",
"dragChart", "900", "500", "0", "1" );
chart.setXMLUrl("${basePath}charts/DragNode1.xml");
chart.render("chartarea");
dijit.byId("modelcreation").show();
var data = FusionCharts("dragChart").getXMLData();//why data doesn't contain the item that I create
}