Flot – a plotting library for jQuery

After some research for a jquery library to present some charts on a website I found this one.It is very configurable and also looks good.
Just set your datapoints and fire Flot up.

1
2
3
4
5
6
$(function () {
    // a null signifies separate line segments
    var d3 = [[0, 12], [7, 12], null, [7, 2.5], [12, 2.5]];
   
    $.plot($("#placeholder"), [d3]);
});

Here is a shot of a sample graph:

Flot Samplegraph

You can get this great plugin at the Flot-Projectsite

Posted February 20th, 2010 in General.

Leave a response:

You must be logged in to post a comment.