fix a couple of npe caused by user tapping on a chart which has no data
Merge pull request #30 from emmaguy/fix_npe_no_data

Fixed NullPointerException when no data set.