Location: PHPKode > projects > Monyet > plotter/jpgraph-2.2/src/Examples/canvasex06.php
// $Id: canvasex06.php,v 1.1 2002/08/27 20:08:57 aditus Exp $
include "../jpgraph.php";
include "../jpgraph_canvas.php";
include "../jpgraph_canvtools.php";

// Define work space

// Setup a basic canvas we can work 
$g = new CanvasGraph(400,200,'auto');

// We need to stroke the plotarea and margin before we add the
// text since we otherwise would overwrite the text.

// Create a new scale
$scale = new CanvasScale($g);

// The shape class is wrapper around the Imgae class which translates
// the coordinates for us
$shape = new Shape($g,$scale);





// Stroke the graph


Return current item: Monyet