I can't see any output.
I don't have this swfobject.js file. I do have a swf.js file. Is that what is needed?
//add the swf object file
This function will not work for those installing into a folder - need to have the JURI::base() in front of the folders.
function getFlashJS($id, $heigh, $width, $data)
//$tmp = 'var so = new SWFObject("media/system/swf/open-flash-chart.swf", "ofc", "' . $heigh . '", "' . $width . '", "9", "#ffffff");
$tmp = 'var so = new SWFObject("plugins/content/open-flash-chart.swf", "ofc", "' . $heigh . '", "' . $width . '", "9", "#ffffff");
so.addVariable("data", "' . $data . '");
so.addParam("allowScriptAccess", "always" );//"sameDomain");
so.write("' . $id . '");';
Obviously, there is not a lot of time remaining to reconsider the implementation. I think Joe is right in that some type of collection point that might be better maintained with a component could be very helpful . Then, perhaps the plugin would merely run a graph already created.
If you can fix those errors and help me see the graph, we'll get it sighned off. It's a good start and getting Open Flash Chart into Joomla! is desired. Perhaps you'll continue this work. Or, others might use your learning and extend it in important ways for the community. Ah, the beauty of open source solutions!