Protovis + SVGWeb

14 views
Skip to first unread message

Jamie Love

unread,
Oct 17, 2010, 3:36:00 AM10/17/10
to prot...@googlegroups.com
Hi all,

There has been some interest in protovis + SVGWeb recently, so I went ahead and updated the codebase to use the latest (30th August) release of SVGWeb. This doesn't appear to have affected things (for good or bad), though performance may have improved.

The integration with SVGWeb works well enough to allow the clocks example to work, at a 100ms interval for updates (with text displaying on angles as well). This is smooth on my test PCs here.  The tipsy examples also work, though they seem to be slightly sluggish in moving the tip to new points.

Hope this helps,

--
Jamie Love
Looking for custom software development? Contact us at www.nsquaredsoftware.com.

Jamie Love

unread,
Oct 17, 2010, 4:53:19 AM10/17/10
to prot...@googlegroups.com
I've also made the protovis+SVGWeb examples available here:

http://www.nsquaredsoftware.com/svgwebdemo/

Feel free to try them out. SVGWeb is forced in all browsers for all tests/examples I've updated (which isn't all of them), so even under Chrome/Firefox SVGWeb will be used.

Regards
Jamie

Pedro Alves

unread,
Oct 17, 2010, 7:57:42 AM10/17/10
to prot...@googlegroups.com, Jamie Love

Yay, brilliant!


Was the code itself updated Jamie? I'm very interested in the
transitions code that was branched out of the master branch recently


-pedro

> www.nsquaredsoftware.com <http://www.nsquaredsoftware.com>.
>
>
>
>
> --
> 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.

Pedro Pinheiro

unread,
Oct 20, 2010, 9:47:46 AM10/20/10
to protovis
Hey Jamie,

Great work, we are definitely getting somewhere with Protovis in IE
now.

One thing I noticed was that, as I diffed your version and Mike's to
try and figure out the impact of the changes, this particular line
struck me as odd:

5774c5822
< if (s.shapeAngle) svg.transform += " rotate(" + 180 *
s.shapeAngle / Math.PI + ")";
---
> if (s.angle) svg.transform += " rotate(" + 180 * s.shapeAngle / Math.PI + ")";

your version has s.angle then s.shapeAngle. I don't know the code well
enough to pass judgment, but this inconsistency looks a bit odd, no?

Regards,

Pedro Pinheiro
Reply all
Reply to author
Forward
0 new messages