Location: PHPKode > projects > Monyet > plotter/jpgraph-2.2/src/Examples/bargradsmallex1.php

include ("../jpgraph.php");
include ("../jpgraph_bar.php");

// We need some data

// Setup the graph. 
$graph = new Graph(200,150,"auto");	


// Setup font for axis

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

// Setup color for gradient fill style 

// Set color for the frame of each bar

// Finally send the graph to the browser
Return current item: Monyet