henryci Report post Posted December 18, 2009 (edited) Perhaps this is the expected behavior and I'm missing something, but I did my searching and didn't see any references to it. The following code creates a simple WorldMapWithCountries chart: xml = "" chart = new FusionMaps(swf, chartId, "935", "350", "0", "1"); chart.setDataXML(xml); chart.render(divId); } changing the first line to: xml = '' causes it to fail. The only difference is which quotes are being used. Am I missing something about how this works? Thanks for your time, -- Henry Edited December 18, 2009 by Guest Share this post Link to post Share on other sites
Guest Madhumita Report post Posted December 18, 2009 Hello, Welcome to FusionCharts Forum. The code should run for both double and single quotes. Here is the code we are using in var xml=' '; var map = new FusionMaps("../Maps/FCMap_WorldwithCountries.swf", "Map1Id", "2160", "1130", "0", "0"); map.setDataXML("xml"); map.render("mapdiv"); Share this post Link to post Share on other sites
henryci Report post Posted December 18, 2009 I've attached a screenshot of the source that is giving me trouble. I've had several people look at this and seeing as it's only one line the mistake should be obvious but I don't see it. Again, thanks for your time. -- Henry Share this post Link to post Share on other sites
Guest Madhumita Report post Posted December 18, 2009 Hello, You can attach your code here or you can mail us at [email protected]. Share this post Link to post Share on other sites
henryci Report post Posted December 18, 2009 ahh, I didn't see that attachments supported text files. I uploaded a file with the 5 lines of javascript which show my idiocy. -- Henry WeirdQuoteSample.txt Share this post Link to post Share on other sites
Guest Madhumita Report post Posted December 18, 2009 Hello, The code works for us. Please use the latest version of FusionCharts.js file. You will not face the error then. Share this post Link to post Share on other sites