> The Offset* APIs are based on the location relative to the parent element.
> You'll need to compute the offset by walking the DOM using "offsetParent".
> (Don't use the DOM parent or you'll get wacky results due to the way tables
> are constructed.) Add up the offsetLeft values for each offsetParent and
> you'll arrive at the true location of the Canvas.
Hi,
That's what I was afraid of. Still, I've manged to do it (!):
http://dev.rgraph.org/
Thank you!
--
Richard Heyes
HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org (Updated December 5th)