PHP Classes

File: bar_graph.html

Recommend this page to a friend!
  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: 20 years ago
Size: 688 bytes


Class file image Download
 <title>PBJ Graph</title>
 <table width="300">
   <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.
    <img src="bar_graph_test.php" />
   <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: (make sure to put something about bar graphs in the
 subject line)