Android - PieChart from text file

218 views Asked by At

I am trying to create a pie chart in android whose input values are read from a text file. I have a problem in parsing the data and assigning it to the distribution series and setting the color for the pie chart. Any sample code for this would be of great help.

Thanks !

2

There are 2 answers

0
Patel Ankit On

Please check code for achartEngine. i think your problem resolved using achartEngine. See the below link.

https://github.com/jondwillis/AChartEngine/tree/master/achartengine

0
Somasundaram NP On

You just check out how to use google chart from this below link http://psychopyko.com/tutorial/how-to-use-google-charts/ and let me know whether it is useful or not.