Location: PHPKode > projects > Monyet > plotter/jpgraph-2.2/src/Examples/example25.1.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);

// Create and add a new text
$txt=new Text("This is a text");

// Setup the titles
$graph->title->Set("A simple bar graph");


// Display the graph
Return current item: Monyet