orenji

Members
  • Content count

    2
  • Joined

  • Last visited

Posts posted by orenji


  1. Hi,

     

     

     

    im trying to integrate fusionchart with my flash movie, but i have problem when load the xml file, and the chart result is always "No data to Display"

     

     

     

    here's the action :

     

    
    #include "com/fusioncharts/includes/LoadingFunctions.as"
    
    #include "com/fusioncharts/includes/AppMessages.as"
    
    
    
    import com.fusioncharts.core.charts.Column2DChart;
    
    
    
    var xmlData:XML= new XML();
    
    
    
    xmlData.load("xml/data.xml");
    
    
    
    var chartContainerMC:MovieClip = this.createEmptyMovieClip("ChartHolder",1);
    
    var myFirstChart:Column2DChart = new Column2DChart(chartContainerMC, 1, 450, 325, 20, 15, false, "EN", "noScale");
    
    //Convey the XML data to chart. 
    
    myFirstChart.setXMLData(xmlData);
    
    //Draw the chart
    
    myFirstChart.render();
    
    //Stop
    
    stop();
    
    

     

     

     

    somebody please help me with this :crazy::crazy::crazy: