Login   Register  
PHP Classes
elePHPant
Icontem

File: bar_graph.html

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Scott Mattocks  >  Bar Graph  >  bar_graph.html  >  Download  
File: bar_graph.html
Role: Example script
Content type: text/plain
Description: Sample output
Class: Bar Graph
Dynamically created bar graph
Author: By
Last change: Updated to handle multiple data sets and add a key
Date: 2003-08-06 20:59
Size: 688 bytes
 

Contents

Class file image Download
<html>
<head>
 <title>PBJ Graph</title>
</head>
<body>
 <table width="300">
  <tr>
   <td>The image below is a graph of how many 
 sandwiches I have or expect to eat in the months of June, July, 
 August, and September.  Yes, I am gluttonous.
   </td>
  </tr>
  <tr>
   <td>
    <img src="bar_graph_test.php" />
   </td>
  </tr>
  <tr>
   <td>This class requires the GD library to be installed on the server.
 Do not forget to set the font path appropriately in the graph method.
 Please contact Scott Mattocks with any questions or comments.  Email:
 mttcks@hotmail.com (make sure to put something about bar graphs in the
 subject line)
 </table>
</body>
</html>