Hi,
I want to use jQuery plots. I found this http://www.jqplot.com/index.php
I added in index.html
in <head>:
<script type="text/javascript" src="js/libs/jquery-1.9.0/jquery.min.js"></script>
<script type="text/javascript" src="js/libs/jqueryui-1.10.0/jquery-ui.min.js"></script>
<script language="javascript" type="text/javascript" src="js/jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="js/excanvas.min.js"></script>
<script language="javascript" type="text/javascript" src="js/jquery.jqplot.min.js"></script>
<script language="javascript" type="text/javascript" src="js/jqplot.logAxisRenderer.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/jquery.jqplot.min.css"/>
<script type="text/javascript" src="js/script.js"></script>
in <body>:
<div id="chartdiv" style="height:400px; width:300px; "></div>
in js/script.js:
$.jqplot('chartdiv', [[[1, 2], [3, 5.12], [5, 13.1], [7, 33.6], [9, 85.9], [11, 219.9]]],
{title: 'Exponential Line',
axes: {yaxis: {min: -10, max: 240}},
series: [{color: '#5FAB78'}]
});
But it doesn’t work. Why?
Thank you!