jqPlot Example for Website Graphs

This is a simple example usage of the jqPlot jQuery plugin. The example on the author website omits the “, {}” options in the .jqplot function call.

     
<html>
 <head>
 http://./scripts/jquery-ui/js/jquery-1.4.2.min.js
 http://./scripts/jqplot/jquery.jqplot.min.js
 <link rel="stylesheet" href="./scripts/jqplot/jquery.jqplot.min.css" type="text/css" media="all" />
 <!--[if IE]>http://./scripts/jqplot/excanvas.js<![endif]-->
 

 $(document).ready(function() {
 $.jqplot.config.enablePlugins = true;
 alert('1');
 $.jqplot('chartdiv',  [[[1, 2],[3,5.12],[5,13.1],[7,33.6],[9,85.9],[11,219.9]]], {});


 });
 
 
 </head>
 <body>
 
</body> </html>