Add plot legends
Don't rely on CSS for hiding preloader and chart title
Improve names of some identifiers
Adjustment of chart width and margins