Revision 66 hci/trunk/eneraptor-web-app/grails-app/views/statistics/showCombGraph.gsp
showCombGraph.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: { |
|
19 |
container: $('legendContainer') |
|
20 |
} |
|
18 | 21 |
}; |
19 | 22 |
</g:javascript> |
20 | 23 |
<div class="chart"> |
21 | 24 |
<flot:plot id="placeholder" style="width: 900px; height: 300px; padding:5px;" data="data" options="options" /> |
22 | 25 |
</div> |
26 |
<br /> |
|
27 |
<p>Legend:</p> |
|
28 |
<div id="legendContainer" name="legendContainer"></div> |
|
23 | 29 |
</erptr:box> |
24 | 30 |
|
25 | 31 |
</body> |
Also available in: Unified diff