some refactoring and fixed #38
add gridlines for the xaxis
implement panning of the chart
reformatting
add i18n
open legend, if no timeseries has data
highlight y-axis when selecting a timeseries in legend
add permalink generation as qr-code