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

CommentFileSizeAuthor
#3 fusioncharts.inc-297641-3.patch4.09 KBdarren oh

Comments

brmassa’s picture

Ignacio,

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

Wimmmmm’s picture

I 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

darren oh’s picture

Status: Active » Needs review
StatusFileSize
new4.09 KB

This should fix things, though I didn't test pie charts.

dreadstar’s picture

Has 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

darren oh’s picture

You need to apply the patch to the original file. See http://drupal.org/patch.

dreadstar’s picture

Lolz ... that was quick ... 8-)

Tnx ... Im off to reading the manuals

dreadstar’s picture

Okay 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.

Wimmmmm’s picture

I 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...

dreadstar’s picture

Maybe 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.

lunas’s picture

Hi, 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?

brmassa’s picture

Status: Needs review » Fixed

Guys,

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

Poieo’s picture

Hello,

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.

Poieo’s picture

Status: Fixed » Active

Meant 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.

Poieo’s picture

Version: 6.x-1.0-alpha4 » 6.x-1.x-dev

Changing version...

Poieo’s picture

One more update...

Everything works great with the Full Version Trial. However, the data does not render for Free Version 2 or 3.

najibx’s picture

hmm ... 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

pierre_cotiniere’s picture

Same 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

colinjones’s picture

I get the same issue...

danharper’s picture

I 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

quicksketch’s picture

Status: Active » Closed (won't fix)

Please 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.