Location: PHPKode > projects > TVEz - Media Library > tvez-0.2.1/html/shared/Graph/examples/pie_chart_2.php
<?php

	include("../PieChart.php");

	$plot = new PieChart(400,250,"Example Pie Chart 2");

	$plot->set_data( array (
		"one" => 35,
		"two" => 12,
		"three" => 59,
		"four"	=> 29,
	) );

	$plot->sort(true);
	$plot->set_label_position('outside');	// Inside or outside

	$plot->draw();
Return current item: TVEz - Media Library