Closed (won't fix)
Project:
Open Flash Chart API
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Jan 2011 at 20:49 UTC
Updated:
10 Jun 2012 at 02:28 UTC
Hi!
I am making my first steps in learning Open Flash Charts API. While reading tutorials http://teethgrinder.co.uk/open-flash-chart/tutorial.php I have noticed that it is possible to use external .php data file. Is it also possible while using Open Flash Charts API in Drupal?
Thanks
Comments
Comment #1
ernest.park commentedYou are referring to using Open Flash Chart 1.
While the example on the site refers to an external data file, there is no need for this in Drupal.
There is a render() method that lets you collect the data, configure the chart, and output the SWF in one file.
You can break this up into pieces, exactly like the website, but there is no need.
If you want Drupal tips for OFC - go to the Open Flash Charts forum. http://forums.openflashchart.com/
Your chart is written to an array. In your code, at the end, just put
echo $chart->render();
Comment #2
pedrorocha commentedAs said in the module description, no more improvements will be made here, since Open Flash Chart project is abandoned.