events triggering the render of more than one Mark?

2 views
Skip to first unread message

Pedro Alves

unread,
Feb 17, 2010, 5:48:53 PM2/17/10
to prot...@googlegroups.com
Hey there

From the samples I know that we can choose what to render as a result
of an event by returning that object.


Can we do that for more than one? I'm currently doing a global
vis.render() but I guess that's not very effective if all I want is to
change properties of a line and a dot, for instance

thanks

-pedro

Jamie Love

unread,
Feb 17, 2010, 6:08:14 PM2/17/10
to prot...@googlegroups.com

At the moment it takes a bit of trickery to re-render  only one mark. If you search the list you'll probably find Mike having mentioned how to do it a few times.

I believe one of Mike's tasks at the moment is to find a nicer way of dealing with interaction.

Alternatively, you could access the SVG DOM after rendering and manipulating them directly. This'll tie your interaction to the protovis version + your graph, but from the SVG I've read, wouldn't actually be that hard (or horrible).

I haven't yet needed to do anything in this space so I've no specific suggestions sorry.

Jamie




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


Reply all
Reply to author
Forward
0 new messages