views:

25

answers:

1

Dear all,

I'm pondering switching to protovis for visualizations. One thing that keeps me skeptical however - since protovis creates its output as a div in a browser, I wonder if there is any at least semi-automatic way for me to create a bunch of images at once without opening each one and pressing "print" manually.

So the question would be:

  • do you think I can use a browserless JS engine like V8 to execute the code and print the result?
  • can I automate opening and printing within a browser?
  • is there another way to get automated images from protovis?

Thanks, Nicolas

+1  A: 

Have a look at this Google Groups thread about this very topic.

Matt Ball
well thanks a lot, that's exactly what I was looking for (figured it wouldn't be entirely trivial...)
Nicolas78
@Nicolas: did you see [the last post](http://groups.google.com/group/protovis/msg/8a70b0e274255b36), which includes a self-contained demo? Looks like you can pretty much take that and go from there.
Matt Ball
yea, tried it out and it works, all that's needed is a little script around it to make conversion fully automatic, shouldn't be much of a problem. I'll post here if I do this. Again, thanks!
Nicolas78