glbm.leo Report post Posted July 27, 2011 Hello. I was wondering if there is a way to avoid FusionCharts to throw errors to the JS console. I managed to listen to errors with the addEventListener using "Errors", but that approach does not avoid the user viewing errors in the page. I tried to use a try & catch between the definition of the chart without luck. Any suggestion would be greatly appreciated. Regards. Share this post Link to post Share on other sites
Guest Angshu Report post Posted July 27, 2011 Hi, Welcome to FusionCharts Forum! You would need to use JavaScript event listener and call your own function inside the event in this way: FusionCharts.debugMode.outputTo(your function name); More details at: http://www.fusioncha.../?Debug/JS.html Hope this helps. Share this post Link to post Share on other sites
glbm.leo Report post Posted July 29, 2011 Thanks Angshu for your reply. I found the FC_ functions much more appropriate in my context. But I'm having trouble to use the parameters. function FC_Error(eventObject, argumentsObject) {...} The first parameter seems to exist, but not the second. Furthermore, the first one have this properties: id: "..." message: "..." nature: "..." source: "..." __proto__: Object I need to know the FusionChart Id to proceed accordingly. Thanks again for your support! Share this post Link to post Share on other sites
Guest Angshu Report post Posted August 1, 2011 Hi, Thanks for your response. The first parameter of FC_Error function is Id: - an unique Id of the error. For more details, please refer to the links below: http://www.fusioncharts.com/docs/?Debug/JS.html#advanced http://www.fusioncharts.com/docs/?JavaScript/API/Events.html Hope this helps. Share this post Link to post Share on other sites