Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit

Issue 177 - patch 2. Tested and verified that the fix works and no other side effects.

Git stats


Failed to load latest commit information.
Latest commit message
Commit time


Pure JavaScript plotting plugin for jQuery.

Join the chat at

jqPlot home page:

Users forum:

Developers forum:

Examples and unit tests:


Project page and source code:

Bugs, issues, feature requests:

Basic Usage Instructions

jqPlot requires jQuery (1.4+ required for certain features). jQuery 1.9.1 is included in the distribution.

To use jqPlot, include jQuery, the jqPlot jQuery plugin, the jqPlot css file and optionally the excanvas script to support IE version prior to IE 9 in your web page:

<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="excanvas.js"></script><![endif]-->
<script language="javascript" type="text/javascript" src="jquery-1.9.1.min.js"></script>
<script language="javascript" type="text/javascript" src="jquery.jqplot.min.js"></script>
<link rel="stylesheet" type="text/css" href="jquery.jqplot.css" />

For more information, see the documentation and examples.

Building from source

If you've cloned the repository, you can build a distribution from source.

Requirements and build tools

Getting started

  1. Fork the repo
  2. Clone the repository into the folder of your choice.
  3. Install Node.JS
  4. Run npm install to install the necessary "npm" dependencies like "grunt".

Building with grunt

Build the application and all the documentation, plus create the zip file, ready for distribution with this command:


Create the application without compression for local use with the command:

grunt build

Legal Notices

Copyright (c) 2009-2015 Chris Leonello

jqPlot is currently available for use in all personal or commercial projects under both the MIT and GPL version 2.0 licenses. This means that you can choose the license that best suits your project and use it accordingly.

jqPlot includes date instance methods and printf/sprintf functions by other authors:

Date instance methods

Author: Ken Snyder (ken d snyder at gmail dot com) Date: 2008-09-10 Version: 2.0.2 ( License: Creative Commons Attribution License 3.0 (

JavaScript printf/sprintf functions

Author: Ash Searle Version: 2007.04.27 The author (Ash Searle) has placed this code in the public domain: "This code is unrestricted: you are free to use it however you like."