开发者

how to make the graph click able in android?

开发者 https://www.devze.com 2023-04-01 05:00 出处:网络
I got one good example for piechart in android. http:/开发者_如何学Python/blog.gafmediastudio.com/2010/04/01/draw-a-pie-chart-with-android/

I got one good example for piechart in android.

http:/开发者_如何学Python/blog.gafmediastudio.com/2010/04/01/draw-a-pie-chart-with-android/

I am trying to make the graph clickable and show some details of the particular sector/pie which was clicked by the user. Please can anyone help me in this regard.


Well it looks like PieChart extends a View. If you look here and here, they give you all the methods you need to override to handle click events.

0

精彩评论

暂无评论...
验证码 换一张
取 消