root / hci / trunk / eneraptor-web-app / grails-app / views / statistics / showCombGraph.gsp @ 63
History | View | Annotate | Download (562 Bytes)
1 | 63 | alexbesir | <html> |
---|---|---|---|
2 | |||
3 | <head> |
||
4 | <title>Statistics » 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 | }; |
||
19 | </g:javascript> |
||
20 | <div class="chart"> |
||
21 | <flot:plot id="placeholder" style="width: 900px; height: 300px; padding:5px;" data="data" options="options" /> |
||
22 | </div> |
||
23 | </erptr:box> |
||
24 | |||
25 | </body> |
||
26 | |||
27 | </html> |