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

// Some data

// New graph with a drop shadow
$graph = new Graph(300,200,'auto');

// Use a "text" X-scale

// Set title and subtitle
$graph->title->Set("Elementary barplot with a text scale");

// Use built in font

// Create the bar plot
$b1 = new BarPlot($databary);

// The order the plots are added determines who's ontop

// Finally output the  image


Return current item: Monyet