What is it?
gRaphaël’s goal is to help you create stunning charts on your website. It is based on Raphaël graphics library. Check out the demos to see static and interactive charts in action.
gRaphaël currently supports Firefox 3.0+, Safari 3.0+, Opera 9.5+ and Internet Explorer 6.0+.
How to use it?
Download and include raphael.js, g.raphael.js and any (or all) of g.line.js, g.bar.js, g.dot.js and g.pie.js into your HTML page, then use it as simple as:
// Creates canvas 640 × 480 at 10, 50var paper = Raphael(10, 50, 640, 480);// Creates pie chart at with center at 320, 200, radius 100// and data: [55, 20, 13, 32, 5, 1, 2, 10]r.g.piechart(320, 240, 100, [55, 20, 13, 32, 5, 1, 2, 10]);
Demos
-
Download v. 0.2
Our recommendation is to use YUI compressor and then GZIP it. It will help to reduce file size.
-
Documentation
Hope it will help
-
Twitter
Best source of updates, so far.
-
Donate
You know you want to…
-
It is Open
This project is distributed under MIT License.
-
Source & Bugs
Project is hosted at GitHub. Download source code or report bugs there.