2011-08-10 01:10:50 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2011-11-07 21:37:55 +01:00
|
|
|
<link rel="stylesheet" type="text/css" href="../jquery.jqplot.min.css" />
|
2011-08-10 01:10:50 +02:00
|
|
|
<link rel="stylesheet" type="text/css" href="examples.css" />
|
|
|
|
|
2011-11-07 21:37:55 +01:00
|
|
|
<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="../excanvas.js"></script><![endif]-->
|
2011-08-10 01:10:50 +02:00
|
|
|
<!-- BEGIN: load jquery -->
|
2011-11-07 21:37:55 +01:00
|
|
|
<script language="javascript" type="text/javascript" src="../jquery.min.js"></script>
|
2011-08-10 01:10:50 +02:00
|
|
|
|
|
|
|
<!-- END: load jquery -->
|
|
|
|
|
|
|
|
<!-- BEGIN: load jqplot -->
|
2011-11-07 21:37:55 +01:00
|
|
|
<script language="javascript" type="text/javascript" src="../jquery.jqplot.min.js"></script>
|
2011-08-10 01:10:50 +02:00
|
|
|
|
2011-11-07 21:37:55 +01:00
|
|
|
<script type="text/javascript" class="code" language="javascript">
|
|
|
|
$(document).ready(function(){
|
|
|
|
var l1 = [2,5,8,1,9,7];
|
|
|
|
var l2 = [9,13,11];
|
|
|
|
var l3 = [7,6,5,3,2,5];
|
|
|
|
var l4 = [15, 12, 19, 14, 9, 15];
|
|
|
|
|
|
|
|
|
|
|
|
var plot = $.jqplot('chart1', [l1, l2, l3, l4], {
|
|
|
|
series: [
|
|
|
|
{markerOptions:{style:'x'}},
|
|
|
|
{markerOptions:{style:'dash'}},
|
|
|
|
{markerOptions:{style:'plus'}}],
|
|
|
|
legend:{show:true}
|
|
|
|
});
|
2011-08-10 01:10:50 +02:00
|
|
|
});
|
|
|
|
</script>
|
2011-11-07 21:37:55 +01:00
|
|
|
|
|
|
|
<script type="text/javascript" src="example.js"></script>
|
2011-08-10 01:10:50 +02:00
|
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
2011-11-07 21:37:55 +01:00
|
|
|
<?php include "topbanner.inc"; ?>
|
|
|
|
<div class="example-content">
|
|
|
|
<?php include "nav.inc"; ?>
|
2011-08-10 01:10:50 +02:00
|
|
|
|
|
|
|
<div class="jqPlot" id="chart1" style="height:380px; width:480px;"></div>
|
|
|
|
|
2011-11-07 21:37:55 +01:00
|
|
|
|
|
|
|
</div>
|
2011-08-10 01:10:50 +02:00
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
|
|
</html>
|