Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (13 sloc) 999 Bytes

Ico is a JavaScript graph library that uses Raphael to draw. This means it can draw charts in multiple browsers (including IE).

Get it at GitHub: alexyoung / ico or view examples.

The API uses a data parameter then an additional option for customisation:

 new Ico.BarGraph(dom_element, data, options);

An array or object can be passed as data:

 new Ico.BarGraph(dom_element, [1, 2, 3, 4], { grid: true });

 new Ico.BarGraph($('dom_element'), {
     shoe_size: [1, 1, 1, 0, 2, 4, 6, 8, 3, 9, 6]
   },
   { colours: {shoe_size: '#990000' },
     grid: true });

Support

Donate

Jump to Line
Something went wrong with that request. Please try again.