update XYPieChart

Please review. Thanks!