Fix XYPieChart deprication erors

From https://github.com/xyfeng/XYPieChart/pull/40