andrei9992000 Report post Posted May 23, 2010 Hello, I'm trying to load an external xml MS chart from a custom class I made. The XML loads fine however the chart would not render/display. I have attached my main, xml as well as my class code. Please let me know what the issues is. Thanks, Andrei main2.zip Share this post Link to post Share on other sites
andrei9992000 Report post Posted May 25, 2010 *BUMP* Anyone have any idea what the issue is? Share this post Link to post Share on other sites
FusionCharts Support Report post Posted May 26, 2010 Hi, Please find the attached modified code. Modified in your code: 1. Added : import com.fusioncharts.core.charts.MSLine2DChart; in extendChart.as 2. Modified draw function in extendChart.as public function buildAndDisplay() { var thisclass = this; var xml:XML = new XML(); xml.ignoreWhite=true; xml.onLoad = function(success) { if (success) { mainChart = new MSLine2DChart( thisclass.movieContainer , 3, 550, 425, 0, 0, true, "EN", "noScale"); mainChart.setXMLData(this); mainChart.render(); stop(); } } xml.load(xmlFile); } MainModified.zip Share this post Link to post Share on other sites
andrei9992000 Report post Posted May 27, 2010 Works great, THANKS A LOT!!! Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted May 27, 2010 Hi, You are most welcome. Keep smiling and keep FusionCharting. Share this post Link to post Share on other sites