mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-05-27 07:29:40 +00:00
Adde legend
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user