egroupware/phpgwapi/js/jquery/jqplot/examples/markerStyles.html

49 lines
1.3 KiB
HTML
Raw Normal View History

2011-08-10 01:10:50 +02:00
<!DOCTYPE html>
<html>
<head>
<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" />
<!--[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 -->
<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 -->
<script language="javascript" type="text/javascript" src="../jquery.jqplot.min.js"></script>
2011-08-10 01:10:50 +02: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>
<script type="text/javascript" src="example.js"></script>
2011-08-10 01:10:50 +02:00
</head>
<body>
<?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>
</div>
2011-08-10 01:10:50 +02:00
</body>
</html>