avner Report post Posted October 11, 2007 Hi, I'm evaluating fusion gadget. I have the following line to create my chart: var myChart = new FusionCharts("FusionGadgets/AngularGauge.swf", "sph", w, h, "0", "1");when the line is run - I get a js error: " 'sph' is undefined. When I replace the chartId ("sph") with a reference to the chart div for rendering then it works fine. Any ideas on why this is happening? regards, Avner Share this post Link to post Share on other sites
avner Report post Posted October 11, 2007 Further info: The specific error is on the following line: __flash__addCallback(sph, "showAnnotation"); Share this post Link to post Share on other sites
avner Report post Posted October 11, 2007 I have found the problem - it is related to having a SWF object inside a <form> tag. I fixed the problem as per the following KB: http://www.adobe.com/go/kb400730 I added the following line after the render method is called: window.sph = document.forms[0].sph; sorted! Share this post Link to post Share on other sites
FusionCharts Support Report post Posted October 12, 2007 Hi, Thanks buddy. Your R&D will be helpful to a immence number of FusionCharts users. Share this post Link to post Share on other sites