@Cybrilla » September 24, 2012

Daily Archives: September 24, 2012

Development

Jqplot – An open source jquery plugin to create charts and graphs

Published by:

As we all know how jQuery make things easy for us to develop and perform better. So here we will talk about the jqplot, which is a jQuery plugin based upon pure javascript, used to build up beautiful line, bar and pie charts with enormous features in it like customized axis, multiple x and y axis, tooltips and labels which you can adjust and customize according to your needs or requirements. In addition to this, it is an open source project which means you can just download it and use it for free whether for commercial or private use.

So here is a short description which will give you a brief idea on how to use it.

  1. Download jqPlot from it official download page. http://bitbucket.org/cleonello/jqplot/downloads/
  2. Unzip downloaded jqPlot copy.
    1. Copy and paste jquery.jqplot.min.css from “dist/jquery.jqplot.min.css” in “css/ ” folder of your web app.
    2. Copy and paste excanvas.min.js from “dist/excanvas.min.js” in “js ” folder of your web app.
    3. Copy and paste jquery.min.js from “dist/jquery.min.js” in “js/ ” folder of your web app.
    4. Copy and paste jquery.jqplot.min.js from “dist/jquery.jqplot.min.js ” in “js/ ” folder of your web app.
  3. In your markup, just use it like this:
  4. Now just open up your markup file in your browser and you would be able to see the plot.

Here is the screenshot of one that i just created: