Statistics
| Revision:

root / hci / trunk / eneraptor-web-app / grails-app / views / statistics / showCombGraph.gsp @ 67

History | View | Annotate | Download (692 Bytes)

1
<html>
2

    
3
<head>
4
	<title>Statistics &raquo; Graph view</title>
5
	<meta name="layout" content="main" />
6
	<flot:resources />
7
</head>
8

    
9
<body>
10

    
11
	<erptr:box title="Graph">
12
		<g:javascript>
13
			var data = ${data};
14
			var options = {
15
				lines: { show: true },
16
				points: { show: true },
17
				xaxis: { mode: "time", timeformat: "%y/%m/%d %H:%M" },
18
				legend: { container: '#legendHolder' }
19
			};
20
		</g:javascript>
21
		<div class="chart">
22
			<flot:plot id="placeholder" style="width: 900px; height: 300px; padding:5px;" data="data" options="options" />
23
		</div>
24
		<br />
25
		<p>Legend:</p>
26
		<div id="legendHolder" name="legendHolder"></div>
27
		
28
	</erptr:box>
29

    
30
</body>
31

    
32
</html>