How to animate the pie charts developed using core-plot library?

前端 未结 3 482
刺人心
刺人心 2020-12-15 01:45

In the iPhone application Roambi, the pie chart shown can be animated to rotate with the user as if rotating a disc. We can hold and do lot of stuff with that.

Someo

3条回答
  •  长情又很酷
    2020-12-15 02:16

    I didn't know CorePlot, and it might be some use for me in the near future, so I just gave it a look. CorePlot is interesting and is active.

    Concerning Animations with CorePlot:

    1. CorePlot documentation mentions an Animation system, but it is not implemented yet...
    2. Even if based on Core Animation, it doesnt mean CorePlot graph will be easily animatable.

    Interesting reading on the topic on google groups.

    So here are your options (by my order of preference):

    1. Look for another plotting library handling animations like Roambi does.
    2. Implement your animations based on CorePlot (means a good understanding of this framework and Core Animation)
    3. Do everything yourself, depending on what you want, again, might be not that hard... But Core Animation skills needed, again.

    I doubt Roambi uses CorePlot, but if they do, they use it as a base with TONS of custom in house code...

提交回复
热议问题