refactor flot chart
Merge remote-tracking branch 'origin/master'