Make the last segment of chart dashed
Refactoring (converting dates and timestamps)
Optimize data loading (load only tail of data every 3 seconds)
Fix server response (month bug)
Optimize data loading and redrawing speed

* separate aggregation data for each time scale
* reusing loaded data (without unnecessary reloading)