Jon 0

Hi everyone,

Been banging my head against this one for a while, and figured I'd turn to the experts for some advice.

I've made a jQuery snippet that grabs the values from a table and plots them in a line graph on a canvas element (also generated by the JS). All's well in Firefox and Chrome, but Safari and Opera aren't displaying the plotted points. I've reviewed in Firebug, Web Inspector debugger, JSLint, and checked the markup with the w3 validator, but still can't find anything glaringly obvious.

Any chance one of you guys could help me out? Here's a sample page with a simplified example:


1 answer


It works in the nightlies, so I'm assuming it's a WebKit bug that's already been fixed. The only thing that looks strange to me is that you're inserting a self-closing canvas tag which I haven't seen a lot of. I don't know if jQuery massages that for you or not.

Answered about 7 years ago by Nathan Duran