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.