11-17-2012 02:12 PM
11-18-2012 10:10 PM
This may be the same issue in another thread, waiting for someone to answer:
12-11-2012 08:57 AM
Actually the whole Canvas is not showing up. If you're having the same issue, try following:
Okay guys, this looks like a bug in canvas implementation. The canvas does not become visible until you have a visible border. How's that?
So what I did, I used following code and the walla, canvas was visible.
Make sure the canvas border is 1px wide or you'll not see the canvas.
<canvas id="myCanvas" width="200" height="100" style="border:1px solid #000000;">
Your browser does not support the HTML5 canvas tag.
Once you've added the border, the rest of the code works just the way you wanted
Hope this helps.