Location: PHPKode > projects > Monyet > plotter/jpgraph-2.2/src/Examples/pie3dex5.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 5 3D Pie plot");

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

// Adjust projection angle

// Adjsut angle for first slice

// Display the slice values

// Add colored edges to the 3D pie
// NOTE: You can't have exploded slices with edges!




Return current item: Monyet