Try the SydJS list. You're likely to get good replies there for JS questions.

Since canvas in itself is stateless, the only way to do it is keeping
the state in JavaScript (i.e.: keep an object around to store the
graph). You can then check the object's state, if say, you set an
attribute when the graph is fully rendered.

And yes, depending on how effectively and correctly you want to do
this, it gets more complex than my suggestion.




On Wed, Aug 15, 2012 at 11:41 AM, Simon Russell <si...@bellyphant.com> wrote:
> What sort of stuff do you want to get?  The bitmap data?
>
> On Mon, Aug 13, 2012 at 4:23 PM, marsbomber <jimji...@gmail.com> wrote:
>> Hi guys,
>>
>> I have an HTML page, with a place holding "canvas" element, after DOM loads,
>> my javascript draws out a graph inside the canvas.
>>
>> I don't seem to be able to interrogate the canvas element ...
>>
>> Any hints?
>>
>> Cheers,
>> Jim
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Ruby or Rails Oceania" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/rails-oceania/-/2hRJ-U0DUT0J.
>> To post to this group, send email to rails-oceania@googlegroups.com.
>> To unsubscribe from this group, send email to
>> rails-oceania+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/rails-oceania?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Ruby or Rails Oceania" group.
> To post to this group, send email to rails-oceania@googlegroups.com.
> To unsubscribe from this group, send email to 
> rails-oceania+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/rails-oceania?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com.
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to