Revision 67 hci/trunk/eneraptor-web-app/grails-app/views/statistics/showGraph.gsp
showGraph.gsp | ||
---|---|---|
14 | 14 |
var options = { |
15 | 15 |
lines: { show: true }, |
16 | 16 |
points: { show: true }, |
17 |
xaxis: { mode: "time", timeformat: "%y/%m/%d %H:%M" } |
|
17 |
xaxis: { mode: "time", timeformat: "%y/%m/%d %H:%M" }, |
|
18 |
legend: { container: '#legendHolder' } |
|
18 | 19 |
}; |
19 | 20 |
</g:javascript> |
20 | 21 |
<div class="chart"> |
21 | 22 |
<flot:plot id="placeholder" style="width: 900px; height: 300px; padding:5px;" data="data" options="options" /> |
22 | 23 |
</div> |
24 |
<br /> |
|
25 |
<p>Legend:</p> |
|
26 |
<div id="legendHolder" name="legendHolder"></div> |
|
27 |
|
|
23 | 28 |
</erptr:box> |
24 | 29 |
|
25 | 30 |
</body> |
Also available in: Unified diff