mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-29 10:09:10 +01:00
f8489c0ed1
jquery.jqplot.1.0.0b2_r947
49 lines
1.3 KiB
HTML
49 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<link rel="stylesheet" type="text/css" href="../jquery.jqplot.min.css" />
|
|
<link rel="stylesheet" type="text/css" href="examples.css" />
|
|
|
|
<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="../excanvas.js"></script><![endif]-->
|
|
<!-- BEGIN: load jquery -->
|
|
<script language="javascript" type="text/javascript" src="../jquery.min.js"></script>
|
|
|
|
<!-- END: load jquery -->
|
|
|
|
<!-- BEGIN: load jqplot -->
|
|
<script language="javascript" type="text/javascript" src="../jquery.jqplot.min.js"></script>
|
|
|
|
<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}
|
|
});
|
|
});
|
|
</script>
|
|
|
|
<script type="text/javascript" src="example.js"></script>
|
|
|
|
</head>
|
|
<body>
|
|
<?php include "topbanner.inc"; ?>
|
|
<div class="example-content">
|
|
<?php include "nav.inc"; ?>
|
|
|
|
<div class="jqPlot" id="chart1" style="height:380px; width:480px;"></div>
|
|
|
|
|
|
</div>
|
|
</body>
|
|
|
|
|
|
</html> |