Location: PHPKode > projects > Monyet > plotter/jpgraph-2.2/src/Examples/example20.php
include ("../jpgraph.php");
include ("../jpgraph_bar.php");


// Create the graph. These two calls are always required
$graph = new Graph(300,200,"auto");	

// Add a drop shadow

// Adjust the margin a bit to make more room for titles

// Create a bar pot
$bplot = new BarPlot($datay);

// Adjust fill color

// Setup the titles
$graph->title->Set("Bar graph");


// Display the graph
Return current item: Monyet