WSPieChart is ok

At present, pie chart is ok.There are two classes for pie chart, one is WSPieChartView, another one is WSPieChartWithMotionView.

The difference between WSPieChartView and WSPieChartWithMotion are below:

Key points when you use WSPieChartWithMotion:

  • Carefully using the shadow. Because it will create shadow on both view and layers.Detail information you can find on the comments of class.
  • Switching data. The datas must have same titles. But they can be different order.
    The codes are just tested on simulator, not on device.