Thursday, June 18, 2009

Charts using jQuery and Canvas

It is really amazing what can be produced with only HTML, CSS, and JavaScript now. Here is the demo on how to draw different types of charts using HTML canvas and jQuery.

fgCharting library can be downloaded from the same page. Canvas is not supported by Internet Explorer, though, but there is a workaround. Google devs have created a JavaScript library that sorts that out.


The above page demonstrates the concept and there must be quite a few good libraries available out there by now. One good example is Flot (link).

No comments: