
cfchart
Members-
Content count
7 -
Joined
-
Last visited
Everything posted by cfchart
-
Hello, I am testing an upgrade to FusionCharts 3.2.2 from 3.1 and am consistently getting an error that reads "a.options is undefined" in Firebug. The error is on line 135 of the minified version of FusionCharts.js-- a.core.addEventListener("Loaded",function(a){ a=a.sender; if(a.options.renderer==="javascript") a.getDataAsCSV=a.ref.getDataAsCSV=a.getCSVData }) I can eliminate the error by changing this to: a.core.addEventListener("Loaded",function(a){ a=a.sender; if(a.options && a.options.renderer==="javascript") a.getDataAsCSV=a.ref.getDataAsCSV=a.getCSVData }) But I am assuming that would just mask the underlying issue. Any ideas? -CFCHART
-
Thanks Angshu. Will FusionMaps be upgraded at that time as well? Also, if we have a custom map, will that also be render-able in JS?
-
I am getting error #03091550 (Invalid event type specified to the parameter of removeEventListener() function. Refer to Event API reference for valid event names.) when using the following code for an event listener. myChart.addEventListener ("Rendered" , setTimeout( function() { myEventListener( myParam1, myParam2 ); }, 2000) ); This worked in FusionCharts 3.1, but not in 3.2. Any ideas?
-
Angshu, thanks for your confirming my finding. One question I have is if I am using both FusionCharts and FusionWidgets in the same project and the renderer is set to JavaScript: FusionCharts.setCurrentRenderer("javascript"); This would cause issues for any FusionWidgets that are used throughout the project right? Or will the widgets override this and render the Flash widgets? Since FusionCharts and FusionWidgets are coupled to the same JS file, is there any way to decouple the renderer?
-
Fixed. myChart.addEventListener ("Rendered" , function(){ myListener( myParam1, myParam2); }); It didn't like the setTimeout. No biggie. Handled it differently.
-
"a.options Is Undefined" And "d Is Null" When Upgrading To 3.2.2
cfchart replied to munick's topic in Installation and Upgrades
Do you have an include of FusionCharts.js elsewhere in your code-- like maybe with FusionWidgets? I had this same problem. -
I just realized the issue-- I didn't realize that another FusionCharts.js was included a few lines after the initial include. We are also using FusionWidgets which also uses a version of FusionCharts.js. So another question-- Is there an issue with using FusionWidgets 3.1.1 with FusionCharts 3.2.2 since they both use a version of FusionCharts.js?