2011-08-10 01:10:50 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
|
|
<title>Break On Null Test</title>
|
|
|
|
<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="../excanvas.js"></script><![endif]-->
|
|
|
|
|
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" />
|
|
|
|
|
|
|
|
<!-- 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
|
|
|
|
|
|
|
|
|
|
|
<!-- END: load jqplot -->
|
|
|
|
<script language="javascript" type="text/javascript">
|
|
|
|
|
|
|
|
$(document).ready(function(){
|
|
|
|
|
|
|
|
s1 = [null, 13, 43, null, 18, 25, 26, 41, 42, null, null, null, 37, 29, 27, 19];
|
|
|
|
|
|
|
|
plot1 = $.jqplot('chart1',[s1],{
|
|
|
|
title: 'breakOnNull true',
|
|
|
|
series:[
|
|
|
|
{breakOnNull: true}
|
|
|
|
],
|
|
|
|
axes: {
|
|
|
|
xaxis: {
|
|
|
|
min: 0,
|
|
|
|
max:18,
|
|
|
|
tickInterval: 2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
</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 id="chart1" style="margin:20px;height:300px; width:600px;"></div>
|
2011-11-07 21:37:55 +01:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</body>
|
2011-08-10 01:10:50 +02:00
|
|
|
</html>
|