Fix for #9

When the date interval change, the the canvas is cleared and the new
Chart is drawn. Furthermore the legends are added dynamic.
Added new version of Chart.js