make the piechart use the legend bric internally.

This is currently calling Legend.redraw() which hasn't been implmented.
Also I did not create a special group element to contain the legend inside the piechart, I'm just drawing it in the widgetGroup, and I didn't read through the code to see how and where that widgetGroup is created.