:: 09.07.2010 23:58:58
Thanks a lot for this plugin. I've used fusioncharts before outside of cake and I was elated to know that there's a plugin for it. I am unable to get it to show the swf on the page though. Firebug shows an error saying FusionCharts is not defined and points to this line:
var chart_Column3D2 = new FusionCharts("/bssd/fusion_charts/swf/FCF_Column3D.swf", "Column3D2", "600", "350");
Am I missing something? I followed the instructions to a t and read all the comments for possible hints and gotchas.
:: 10.07.2010 21:23:20
Hi Lecterror, thank you for your quick response. I did check firebug and wasn't getting any 404 errors, instead I got a message stating that FusionCharts was not defined, so I realized that my FusionCharts.js file was no properly referenced in my view. Fixed it and voila, everything works now. Just one more question though, do you have any examples on how to use data from a CakePHP model?? I'm really new to cake and I'm having trouble getting data into the functions in FusionCharts_Gen.php like addDataset(),addChartData(), addDatasetsFromDatabase() and addDataFromDatabase(). You've done a significant amount of work and I really applaud your efforts. This is really useful for people like me.