Dynamic update of Raphael diagram

29 views
Skip to first unread message

Eugene Ivlev

unread,
Feb 16, 2012, 11:01:33 AM2/16/12
to raphaelgwt
Hello!

I don't know how I can update diagram after new Shape creation.

So My class extends Raphael. It has onLoad method in which several
nodes are created. Next, I'd like to create new Shapes. How I can
update my view?

Geoff Speicher

unread,
Feb 17, 2012, 5:34:49 AM2/17/12
to rapha...@googlegroups.com
I'm afraid I don't completely understand your question, but you can add shapes to the drawing any time after onLoad() is called, the same way as you would do it from onLoad().

Geoff

Eugene Ivlev

unread,
Feb 17, 2012, 7:34:43 AM2/17/12
to raphaelgwt
Sorry.. The problem was related to my mistake of view inject. I tried
to update new instance of view instead of proper view.
Thanks for response.
Reply all
Reply to author
Forward
0 new messages