removed some debug output
added two kinds of chart REST UI, by point and by line
docs
removed system.out, fixed bug that a chart line without any data will cause infinite loop.
Merge pull request #30 from dvayanu/master

fixed infinite loop. added chart rest api.