Simple line chart using the canvas