mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
new menu. it's pretty. it should work.
git-svn-id: http://www.observium.org/svn/observer/trunk@2408 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -0,0 +1,78 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Data Loading Indicator</title>
|
||||
<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="../excanvas.js"></script><![endif]-->
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="../jquery.jqplot.css" />
|
||||
|
||||
<!-- BEGIN: load jquery -->
|
||||
<script language="javascript" type="text/javascript" src="../jquery.js"></script>
|
||||
<!-- END: load jquery -->
|
||||
|
||||
<!-- BEGIN: load jqplot -->
|
||||
<script language="javascript" type="text/javascript" src="../jquery.jqplot.js"></script>
|
||||
|
||||
<!-- END: load jqplot -->
|
||||
<script language="javascript" type="text/javascript">
|
||||
|
||||
$(document).ready(function(){
|
||||
$.jqplot.config.enablePlugins = true;
|
||||
//$.jqplot.config.catchErrors = true;
|
||||
|
||||
line1 = [1, 3, 5, 7, 9];
|
||||
plot = $.jqplot('chart',[], {
|
||||
|
||||
title: 'Chart',
|
||||
seriesDefaults: {
|
||||
yaxis: 'y2axis'
|
||||
},
|
||||
// axes: {
|
||||
// xaxis: {
|
||||
// renderer:$.jqplot.DateAxisRenderer,
|
||||
// tickOptions:{formatString:'%H:%M'},
|
||||
// },
|
||||
// y2axis: {
|
||||
// tickOptions:{formatString:'%.4f'}
|
||||
// }
|
||||
// },
|
||||
// series: [
|
||||
// {
|
||||
// renderer:$.jqplot.OHLCRenderer,
|
||||
// rendererOptions:{candleStick:true, fillUpBody:true, upBodyColor:'#3333aa', downBodyColor:'#aa3333'}
|
||||
// }
|
||||
// ],
|
||||
noDataIndicator: {
|
||||
show: true,
|
||||
indicator: '<img src="ajax-loader.gif" />',
|
||||
//indicator: 'Loading Data...',
|
||||
axes: {
|
||||
xaxis: {
|
||||
min: 0,
|
||||
max: 5,
|
||||
tickInterval: 1,
|
||||
showTicks: false
|
||||
},
|
||||
yaxis: {
|
||||
min: 0,
|
||||
max: 8,
|
||||
tickInterval: 2,
|
||||
showTicks: false
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<?php include "nav.inc"; ?>
|
||||
<div id="chart" style="height:200px; width:300px;"></div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user