Protochart

Pie Chart

new Proto.Chart($('piechart'), 
	[
	{ data: d1, label: "d1"},
	{ data: d2, label: "d2"},
	{ data: d3, label: "d3"},
	{ data: d4, label: "d4"},
	{ data: d5, label: "d5"},
	{ data: d6, label: "d6"},
	{ data: d7, label: "d7"}
	], 
	{
		/*
		This is how we tell the Chart engine that we 
		need a pie chart and it ignores all inline options 
		that you might have passed with the datasets.
		*/
		pies: {show: true, autoScale: true},
		legend: {show: true}
	});