|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 10/11/2007 8:31:17 PM
Posts: 4,
Visits: 5
|
|
| 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
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 10/11/2007 8:31:17 PM
Posts: 4,
Visits: 5
|
|
| Further info: The specific error is on the following line: __flash__addCallback(sph, "showAnnotation");
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 10/11/2007 8:31:17 PM
Posts: 4,
Visits: 5
|
|
| 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!
|
|
|
|
|
Supreme Being
      
Group: Moderators
Last Login: Today @ 1:21:47 AM
Posts: 675,
Visits: 1,079
|
|
| Hi, Thanks buddy. Your R&D will be helpful to a immence number of FusionCharts users.
Regards,
Sudipto Choudhury FusionCharts Team
|
|
|
|