android - How to display names and percentages in a pie chart legend using mpchartlib -
i want display pie chart this
please note not want display names of items , theirs values inside of each slice because having allot of items , when displaying names slices names , values aren't intelligible.
i don't know if of not
can pass value textview , per knowledge, can change textview value on method public void onvalueselected(entry e, int datasetindex, highlight h)
i'm doing this
desc.settext(code.get(h.getxindex()) + " - " + name.get(h.getxindex()) + ", area: " + area.get(h.getxindex())); where code, name, , area arraylist<string> name, code, area;
Comments
Post a Comment