root / hci / trunk / eneraptor-web-app / grails-app / views / charts / showGraph.gsp @ 11
History | View | Annotate | Download (422 Bytes)
1 | 11 | alexbesir | <html> |
---|---|---|---|
2 | |||
3 | <head> |
||
4 | <title>Statistics » Graph</title> |
||
5 | <meta name="layout" content="main" /> |
||
6 | <flot:resources /> |
||
7 | </head> |
||
8 | |||
9 | <body> |
||
10 | |||
11 | <g:javascript> |
||
12 | var data = [${data}]; |
||
13 | var options = { lines: { show: true }, points: { show: true } }; |
||
14 | </g:javascript> |
||
15 | <div class="chart"> |
||
16 | <flot:plot id="placeholder" style="width: 600px; height: 300px;" data="data" options="options" /> |
||
17 | </div> |
||
18 | |||
19 | </body> |
||
20 | |||
21 | </html> |