Hacker News new | ask | show | jobs
by bradlane 5904 days ago
There's also gRaphael specifically for charting: http://g.raphaeljs.com/

Also, the article mentions that IE doesn't support the <canvas> tag. While this is true, you only need to add the excanvas JS library to use <canvas> in IE.

3 comments

I've worked with gRaphael. it's still immature, and the code base is still immature. I'd look at protovis before taking a look at gRaphael.

However, I do wish that protovis is based on Raphael and jQuery.

define immature
you couldn't put y-axis tick mark labels on bar graphs, to start.
I'd second this. We've been using GRaphael for the reporting graphs on MinuteDock, and we had to manually hack in a bunch of things - like rotating the labels on the x-axis correctly if they were too long, and even drawing both axes on some graph types.

It's worth the effort though - works on iPhone/iPad out of the box, and is super snappy even on OS X (unlike most Flash charting solutions, including Google Viz.)

Looks like the documentation is still in progress: http://g.raphaeljs.com/reference.html

but the demos are pretty impressive.

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 :)
Thanks for posting. No you don't have to be sorry for pimping your own stuff. If you didn't, I probably never would have heard of Grafico.
excanvas doesn't get you support for the full API -- getImageData() isn't supported since you can't do that with VML.