Steve Workings Report post Posted July 24, 2015 I've just upgraded from 3.2.2XT to 3.8, and my hbullet charts aren't rendering. Anyone know what's wrong with this: ? var mychart = new fusioncharts("charts/hbullet.swf", "mychartid2", "350", "50", "0", "1"); mychart.setxmldata("<chart palette='3' lowerlimit='0' upperlimit='5' decimals='0' caption='' subcaption='' numberprefix='' numbersuffix='' showvalue='1'> <colorrange> <color minvalue='0' maxvalue='74.5' code='#a6a6a6'/> <color minvalue='74.5' maxvalue='231.5' code='#cccccc'/> <color minvalue='231.5' maxvalue='270' code='#e1e1e1'/> </colorrange> <value>127</value> </chart>"); I've tried all differentways of referencing the chart -- with the path, without it, with the .swf extension, without it,etc. But I'm also not sure that's the problem. Thanks. Share this post Link to post Share on other sites
Swarnam Report post Posted July 27, 2015 Hi Steve, The chart are non rendering within your environment since "new fusioncharts" should be defined as "new FusionCharts" and "setxmldata" as "setXMLData" Please check out the fiddle at which uses the latest files at: http://jsfiddle.net/swarnam/Cn6bt/10/ Hope this helps. Share this post Link to post Share on other sites
Steve Workings Report post Posted July 27, 2015 (edited) Edit - well, never mind I guess. I have no idea what I've now done differently, but it works and I don't even care why. ------------ I have pasted exactly what you show here, yet nothing shows up. Here is what I find in Chrome's Firebug: <div id="77882372b49f4e6ba1c17b40193f0de8"></div> <script type="text/javascript"> var mychart = new FusionCharts("charts/hbullet.swf", "mychartid2", "350", "50", "0", "1"); mychart.setXMLData("<chart palette='3' lowerlimit='0' upperlimit='5' decimals='0' caption='' subcaption='' numberprefix='' numbersuffix='' showvalue='1'> <colorrange><color minvalue='0' maxvalue='74.5' code='#a6a6a6'/> <color minvalue='74.5' maxvalue='231.5' code='#cccccc'/> <color minvalue='231.5' maxvalue='270' code='#e1e1e1'/></colorrange><value>127</value></chart>"); myChart.render("77882372b49f4e6ba1c17b40193f0de8"); </script> Edited July 27, 2015 by Steve Workings Share this post Link to post Share on other sites
Swarnam Report post Posted July 28, 2015 Hi Steve, mychart.render("77882372b49f4e6ba1c17b40193f0de8"); The variable should be defined as "mychart". Please replace the render method with the above piece of code. Hope this helps. Share this post Link to post Share on other sites