Hello i am using android MPAndroidChart library in my project. I want to refresh chart without refreshing activity page.
Thanks in advance.
Hello i am using android MPAndroidChart library in my project. I want to refresh chart without refreshing activity page.
Thanks in advance.
Where ever upon button click or spinner selection you need to update your graph just call a method:
chartView.notifyDataSetChanged();
chartView.invalidate();