replaced old implementation for generating a graph
with 3rd party solution Androidplot from www.androidplot.com