Code
Code
Code

gRaphaël, diagrams and charts with javascript

Javascript library that allows easily create graphic diagrams. To represent diagrams without the need for flash. A small example for creating diagram of the typical  pie chart:

/ / Create a canvas 640 × 480 at coordinates 10, 50
var r = Raphael (10, 50, 640, 480);
/ / Create pie with center at 320, 200,
/ / radius 100 and data: [55, 20, 13, 32, 5, 1, 2]
rgpiechart (320, 240, 100, [55, 20, 13, 32, 5, 1, 2]);

more demonstrations

comments powered by Disqus
Comunicatek - - La Bisbal d’Empordà - dani@comunicatek.com - About code - Legal