KoolChart - Excellent PHP Chart and GraphKoolChart - Excellent PHP Chart and GraphFullVersion 2.6.0.2 released on 25/11/2016

ChartTypes - PHP Pie Chart

* Note:Generate your own chart with Code Generator

Description & Sample code

To add a pie series to the chart, you do:

	$_series = new PieSeries("Browsers");	
	$_series->LabelsAppearance->DataFormatString="{0}%";

	$_item = new PieItem(31.8,"Firefox");
	$_item->BackgroundColor = "#ff9900";
	$_item->Exploded = true;
	$_series->AddItem($_item);
	
	$_item = new PieItem(16.1,"Internet Explorer");
	$_item->BackgroundColor = "#cccccc";
	$_series->AddItem($_item);
	
	$chart->PlotArea->AddSeries($_series);