Plots ECG wave form on HTML5 Canvas