egroupware/phpgwapi/js/jquery/jqplot/examples/markerStyles.html
Nathan Gray f8489c0ed1 Update jqplot to
jquery.jqplot.1.0.0b2_r947
2011-11-07 20:37:55 +00:00

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>