Sunday, 15 June 2014

achartengine - How to update a pie chart with new values by clicking a refresh button in android -



achartengine - How to update a pie chart with new values by clicking a refresh button in android -

how update pie chart new values when click refresh button.

that means want remove old pie chart , create new pie chart clicking button in same activity.here using chart engine displaying pie chart.

thanks in advance..

call code on button click.

intent intent = getintent(); finish(); //here new info pie chart. startactivity(intent);

basically have restart activity, if utilize above code.

now if can info in thread seek considering , asynctask , new info within doinbackground method. , after calling onpostexecute refresh ui part making new object display i.e. view in case.

android achartengine pie-chart

No comments:

Post a Comment