Hi
I try fusionchart but don't work, I have Drupal 6.3. With google chart works fine.
My steps
1. Install the module
2. Copy the swf in the folder ../chart/fusionchart/swf/
3. A code like this
$chart = array(
'#plugin' => 'fusioncharts', //
'#type' => 'line2D', // To show a simple 2D line chart
'#height' => 100, // in pixels
'#width' => 200, // in pixels
array(10, 20, 25, 35), // A simple list of values that will form the line on chart
);
return charts_chart($chart);
What's wrong?
Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | fusioncharts.inc-297641-3.patch | 4.09 KB | darren oh |
Comments
Comment #1
brmassa commentedIgnacio,
i did some changes on the Charts Schema and i forgot to review it on FusionCharts. I dont know why its not working but i will find out. Im planning to work on this next week.
regards,
massa
Comment #2
Wimmmmm commentedI have a similar experience.
GoogleChart works fine.
FusionChart gives nothing.
* I downloaded myself FusionChart 3.0 from their site http://www.fusioncharts.com/free/DownloadDone.asp.
* Then I manually renamed their files, since they all started with FCF_
and put those in a swf dir.
When I go to the chart settings page, the SWF loads fine, but then displays something like "chart contains no data" inside the swf. Same for the report/chart pages.
Hope this helps you out a bit.
Wim
Comment #3
darren ohThis should fix things, though I didn't test pie charts.
Comment #4
dreadstar commentedHas anyone gotten this to work? Ive tried the above patch but still did not work. Im assuming the above attachment has to be renamed and copied over the existing fusioncharts.inc file
Comment #5
darren ohYou need to apply the patch to the original file. See http://drupal.org/patch.
Comment #6
dreadstar commentedLolz ... that was quick ... 8-)
Tnx ... Im off to reading the manuals
Comment #7
dreadstar commentedOkay Ive patched the fusioncharts.inc file but still a blank space comes out. Right clicking the space gives me two choices.
1. Movie not loaded ...
2. About Adobe Flash Player 9...
Reviewing ... I have all the swf files in (drupal root)\sites\all\modules\charts\fusioncharts\swf.
I have also removed all FCF_* prefixes in the swf files as instructed above.
Comment #8
Wimmmmm commentedI have precisely the same:
* patched (successfully :-) ) fusionchart.inc
* downloaded, renamed & moved all swfs into /fusioncharts/swf dir (undocumented feature! Please write this into the README.txt file)
* activated all charts modules
* switched to FusionChart option
and now staring at blank swf space... Right-mouse click reveals "Movie not loaded", although path seems ok.
I have Adobe Flash Player 9,0,124,0 installed, using FireFox 3.0.4 on Mac OS 10.5.5.
Aha: I have clean URLs disabled (struggling to get them back on), and I noticed the source for the swf is pointing towards /?q=sites/all/modules/charts/fusioncharts/swf/Pie2D.swf.
When i change it to /sites/all/modules/charts/fusioncharts/swf/Pie2D.swf, at least I get the swf loaded, now displaying "error in loading data".
So still no good...
Comment #9
dreadstar commentedMaybe Im missing something. Are we supposed to put and use the files in the PHP folder and PHPClass folder somewhere? Basically I just copied all the *swf files in the Charts folder into the swf folder.
Comment #10
lunas commentedHi, I've done the above steps as well, dev version of charts, patched fusioncharts.inc and getting same result, but only in IE. There the swf loads but nothing is displayed (can see it in source). In Firefox, the chart displays. In both, I am unable to change any color settings. The console in Firefox displays an error - "rgb is undefined in farbtastic.js?b on line 286. Not sure if it's related, but probably can't be helping. FYI - Open charts works in both, but again, can't change any of the color settings. Any ideas?
Comment #11
brmassa commentedGuys,
i just commited several modification to make FusionCharts v3 work.
In case it does not work for you, feel free to reopen it.
regards,
massa
Comment #12
Poieo commentedHello,
I love the idea of this module, but I'm having the same problems described here. I have the latest (June 5) dev installed, I've uploaded the .swf files to sites/default/files/fusioncharts, but all I get on the Charts admin page for the sample chart is an empty white space. Google charts display fine, but no fusion charts. I know this info doesn't help solve the problem, so please let me know any questions I can answer.
Comment #13
Poieo commentedMeant to mark as 'active'.
Also, I was able to get the 'no data available' message by clearing both my site and browser cache. But, still no actual chart on the admin page or on my view's generated block. I'm using Fusion Charts Free V3.
Comment #14
Poieo commentedChanging version...
Comment #15
Poieo commentedOne more update...
Everything works great with the Full Version Trial. However, the data does not render for Free Version 2 or 3.
Comment #16
najibx commentedhmm ... instead of renaming and putting all flash files in the /sites/all/modules/charts/fusioncharts/swf , I received notification below :
Put all flash files inside sites/example.com/files/fusioncharts. (Currently using FusionCharts FusionCharts flash files not installed)
after putting it there, I no longer receive the error and Fusion chart is installed. But when switch to fusion chart from google chart, it shows "no data to display" ....as mentioned in #15?
update : tried also the evaluation version. same result
Comment #17
pierre_cotiniere commentedSame conclusion, it works with evaluation version but not with free version even if i rename swf files : FCF_*.swf -> *.swf in the fusioncharts/swf directory
Comment #18
colinjones commentedI get the same issue...
Comment #19
danharper commentedI also have this problem, when go to the charts setting page I select fusion charts and save but can't see the graph.
Cheers Dan
Comment #20
quicksketchPlease reopen if this problem exists in the D7 version of the module. The 6.x-1.x version of the module is no longer being updated.