Motion charts with HTML5 canvas