how can i turn a list into pie chart in android

Viewed 12

i have a mutable list of genres like this:

[british singer-songwriter, turkish alternative, pop, turkish rock, ohio hip hop, electropop, pop,....

Its length is always more than 100 and it changes for every user. I researched a lot and learned that you have to specify color and name and etc. for every slice to create one (like as in anychart lib)

As these lists are dynamic and have a lot of values , there is no way I can do it manually. Is there any way to turn this list into a pie chart by just giving the list as a value? I don't care about the colors, they can be random. and slice names can be value names themselves.

0 Answers
Related