Submitter
SUPPORT TOPIC File Information
- Submitted: Oct 21 2007 03:43 AM
- Last Updated: Oct 21 2007 06:39 AM
- File Size: 9.6K
- Views: 3392
- Downloads: 374
Previous Versions
Download EtoGraph
EtoGraph V1.0
By Cris D.
Etomised from postgraph.class.php by
<a href="http://www.qualityunit.com/postgraph" target="_blank">http://www.qualityunit.com/postgraph</a>
Overview: This snippet and class file together read a data source and turn it into a dynamically created file called "graph.png".
All aspects of the graph are configurable including titles, colours, sizes, axis lables, orientation, etc.
######INSTALLATION INSTUCTIONS ###########
SETP 1) Unzip this folder and place in 'assets' folder for a default installation.
ie the postgraph.class.php file should be located at... http://www.yoursite....graph.class.php
If installed correctly, the snippet and class file will automatically create a file called...
http://www.yoursite....graph/graph.png
*** Therefore, for this to happen, you must make sure that the assets/graph folder has CHMOD settings suitable to allow this on your server (usually 777 or 755).***
STEP 2) Open the etoGraph snippet in a text editor with wordwrap OFF, copy and paste the code into the snippet library and call it "graph".
STEP 3) Configure the snippet with the following (if stored in a place different from above)...
//default location of postgraph.class.php file (with no trailing slash)
$folder="assets/graph";
SETP 4) Create a page and call the snippet in it uncached like this: [!graph!] save the page and view it.
STEP 5) Default values are included in the snippet so that your page should show a graph now.
See the README for instructions on adding your own data sources.
You can choose from hand written data in the snippet,
hand written data in additional snippet sources,
database querys and API's in external snippets,
or if you are a coder, external .php and .txt files.
For additional info and troubleshooting, see the README file in the zip download.
See an example of use here.
By Cris D.
Etomised from postgraph.class.php by
<a href="http://www.qualityunit.com/postgraph" target="_blank">http://www.qualityunit.com/postgraph</a>
Overview: This snippet and class file together read a data source and turn it into a dynamically created file called "graph.png".
All aspects of the graph are configurable including titles, colours, sizes, axis lables, orientation, etc.
######INSTALLATION INSTUCTIONS ###########
SETP 1) Unzip this folder and place in 'assets' folder for a default installation.
ie the postgraph.class.php file should be located at... http://www.yoursite....graph.class.php
If installed correctly, the snippet and class file will automatically create a file called...
http://www.yoursite....graph/graph.png
*** Therefore, for this to happen, you must make sure that the assets/graph folder has CHMOD settings suitable to allow this on your server (usually 777 or 755).***
STEP 2) Open the etoGraph snippet in a text editor with wordwrap OFF, copy and paste the code into the snippet library and call it "graph".
STEP 3) Configure the snippet with the following (if stored in a place different from above)...
//default location of postgraph.class.php file (with no trailing slash)
$folder="assets/graph";
SETP 4) Create a page and call the snippet in it uncached like this: [!graph!] save the page and view it.
STEP 5) Default values are included in the snippet so that your page should show a graph now.
See the README for instructions on adding your own data sources.
You can choose from hand written data in the snippet,
hand written data in additional snippet sources,
database querys and API's in external snippets,
or if you are a coder, external .php and .txt files.
For additional info and troubleshooting, see the README file in the zip download.
See an example of use here.
- 248 Total Files
- 19 Total Categories
- 50 Total Authors
- 131,652 Total Downloads
- TripTracker Gallery Latest File
- Dean Latest Submitter












