Mobile app to fetch data from server and display the graph accordingly