There's also gRaphael specifically for charting: http://g.raphaeljs.com/ Also, the article mentions that IE doesn't support the tag. While this is true, you only need to add the excanvas JS library to use in IE.
Here's why Raphael.js and SVG totally rock.
51–56 of 56 posts
Re: Here's why Raphael.js and SVG totally rock.
#52I have found myself using jQuery SVG more. This link shows what other people think of the two: http://stackoverflow.com/questions/588718/jquery-svg-vs-raphael The version of Raphael I used at one point had to be in complete control from object 1 and could not import SVGs. So let's say I generate an SVG via graphviz and then want to make some of the nodes interactive (or at least animate). I get a good amount of tween…
edit: I should mention that I moved to jquery-svg and have been happy ever since. :)
Re: Here's why Raphael.js and SVG totally rock.
#53Assuming you don't care about IE, what's the Pros/Cons for SVG vs Canvas? Canvas seems to be pretty nice from what I've used it for so far...
Canvas is significantly faster for animation: http://www.themaninblue.com/writing/perspective/2010/03/22/ It is also more likely to get faster in the future, as browsers might implement GPU acceleration for it. I wouldn't hold my breath waiting for GPU acceleration for SVG, since SVG is not as easily mapped to drawing primitives, like Canvas is.
There's also a toggle in Firefox's about:config that turns on hardware acceleration on Windows.
Re: Here's why Raphael.js and SVG totally rock.
#54Re: Here's why Raphael.js and SVG totally rock.
#55Earlier quoted context omitted.
Accidentally voted you down - sorry (last time I try to do that mobile before zooming down). I did want to add though: does anyone know why this is, or if it's slated for a future (2.2?) release?
I've believe it's because SVG support is still listed as experimental in WebKit; there are 258 SVG bugs listed on WebKit's Bugzilla: https://bugs.webkit.org/buglist.cgi?product=WebKit&compo...
Re: Here's why Raphael.js and SVG totally rock.
#56There's also gRaphael specifically for charting: http://g.raphaeljs.com/ Also, the article mentions that IE doesn't support the tag. While this is true, you only need to add the excanvas JS library to use in IE.
Sorry to be pimping my own stuff, but for the moment I think Grafico is more mature/offers better charts than gRaphael: http://grafico.kilianvalkhof.com/ Worth taking a look regardless :)