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

// Some data
$data = array(20,27,45,75,90);

// Create the Pie Graph.
$graph = new PieGraph(350,200,"auto");

// Set A title for the plot
$graph->title->Set("Example 4 3D Pie plot");

// Create 3D pie plot
$p1 = new PiePlot3d($data);

// Adjust projection angle

// Adjsut angle for first slice

// As a shortcut you can easily explode one numbered slice with

// Setup slice values




Return current item: Monyet