oesmith/morris.js — pull request #128 by tiraeth (2012-12-05 13:31:24+00:00)
Title: Morris.Pie and Morris.Donut delivered (using inheritance)

I have rewritten (completely) ```Morris.Donut``` to use newly created ```Morris.Pie```. It does not display the hilight element inside the hole + moves the label above the chart. Also, a pie chart functionality has been presented with this PR.

As a requested functionality, callbacks for ```hover``` and ```click``` on segments are available now. Callbacks are using ```Morris.EventEmitter``` strategy (example in ```pie.html```).

If you find it useful (I do), merge into the master. This will of course destroy current Look 'n Feel for ```Morris.Donut``` but I think it's more consistent to show the hover/label in the same way in Donut and Pie chart.