Hello,
I've tried following the installation instructions but I'm having difficulties:
I have downloaded version 1.9.6 of open flash chart
Copied the js folder and swf file to the open flash chart api directory
I've then tried using the demo code in the documentation but all I get in firebug is:
SWFObject is not defined
Can some one help point me at what I've done wrong?
Thanks
Matt
Comments
Comment #1
jvandervort commentedFirst thing to do is check the paths. Do a view source and looks for the
Make sure this path (src=) actually exists on your web server and the file is served up correctly when you type this url into your web browser. NOTE the path may be slightly different.
Comment #2
jvandervort commentedAlso make sure you are using OFC v1 and swjobject v1.5
Comment #3
dreadstar commentedI also downloaded this module and couldnt get the sample code to work. It crashed my test site with the following error
Fatal error: Call to undefined method open_flash_chart_api::set_y_label_steps() in W:\www\drupal\includes\common.inc(1547) : eval()'d code on line 40
Ive also made sure on the administration modules page that open flash chart api was enabled and restarted the server for good measure.
Questions:
1. On comment#1 by jvandervort ... which file in particular do I check whether the path is correct?
2. I finally got my test site back up and running by deleting manually the node via phpmyadmin. Now how do I continue in trying to get this module working without crashing my site every single time?
Comment #4
dreadstar commentedSorry, its me again ... saw this link and it is related to my problem
http://drupal.org/node/331806
But I still dont understand how this problem was solved. The line
$g->set_y_label_steps( 4 );
was changed to what exactly?
Comment #5
jvandervort commentedTry:
$g->y_label_steps( 4 );
That should fix your
set_y_label_steps() no longer exists.
Also, if you can, please add new issues for any problem you come across so you can get email, and the other thread OP's don't get emailed regarding your questions. Thanks.
Comment #6
dreadstar commentedThanks!