Version: 1

Type: Sample Code (HOWTO)

Category: Graphics

License: GNU General Public License

Description: In reference to http://www.phpbuilder.com/snippet/detail.php?type=snippet&id=1445



require_once("class_DrawGraph.php");
$graph = new DrawGraph(array(34,53,24,54,54,43), 400, 160, 10, 10, array(224, 234, 234));
$graph->drawData(array("A","B","C","D","E","F"), "my graph");
$graph->rotateGraph(0);
$graph->outputGraph();