Location: PHPKode > projects > Monyet > plotter/jpgraph-2.2/src/Examples/example20.5.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 values

// Center the values in the bar

// Make the bar a little bit wider


// Setup the titles
$graph->title->Set("Centered values for bars");


// Display the graph
Return current item: Monyet