mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
Adde legend
This commit is contained in:
parent
8d18d40295
commit
30db0f8e7a
2 changed files with 41 additions and 5 deletions
|
@ -718,6 +718,8 @@
|
|||
<div class="flot-chart">
|
||||
<div class="flot-chart-content" id="flot-moving-line-chart" style="padding: 0px; position: relative;">
|
||||
<canvas id="netEth{{ forloop.counter0 }}Chart" width="735" height="250"></canvas>
|
||||
<span class="netIN">{% trans "In" %}</span>
|
||||
<span class="netOUT">{% trans "Out" %}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -732,6 +734,8 @@
|
|||
<div class="flot-chart">
|
||||
<div class="flot-chart-content" id="flot-moving-line-chart" style="padding: 0px; position: relative;">
|
||||
<canvas id="blk{{ disk.dev }}Chart" width="735" height="250"></canvas>
|
||||
<span class="diskRD">{% trans "Read" %}</span>
|
||||
<span class="diskWR">{% trans "Write" %}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -890,9 +894,9 @@
|
|||
labels : [0, 0, 0, 0, 0],
|
||||
datasets : [
|
||||
{
|
||||
"fillColor": "rgba(83,191,189,0.5)",
|
||||
"strokeColor": "rgba(83,191,189,1)",
|
||||
"pointColor": "rgba(83,191,189,1)",
|
||||
"fillColor": "rgba(220,220,220,0.5)",
|
||||
"strokeColor": "rgba(220,220,220,1)",
|
||||
"pointColor": "rgba(220,220,220,1)",
|
||||
"pointStrokeColor": "#fff",
|
||||
"data": [0, 0, 0, 0, 0]
|
||||
},
|
||||
|
@ -904,7 +908,7 @@
|
|||
"data": [0, 0, 0, 0, 0]
|
||||
},
|
||||
]
|
||||
}
|
||||
};
|
||||
|
||||
var netLineData = {
|
||||
labels : [0, 0, 0, 0, 0],
|
||||
|
@ -924,7 +928,7 @@
|
|||
"data": [0, 0, 0, 0, 0]
|
||||
},
|
||||
]
|
||||
}
|
||||
};
|
||||
|
||||
var cpuOpt = {
|
||||
animation: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue