simple tuning of download graphs

This commit is contained in:
hamza zia 2012-12-30 15:54:00 +08:00
parent 3cb36cdee7
commit a3c98a47ae
4 changed files with 174 additions and 174 deletions

View File

@ -36,6 +36,8 @@
.more_info {
min-height: 0px;
}
.button_set {
float: right;
margin-bottom: 5px;
@ -48,15 +50,10 @@
text-align: center;
margin-bottom: 3px;
}
#active_downloads {
/* min-width: 856px; */
}
.active_graph {
height:300px;
width: 80%;
margin-top: 10px;
margin-bottom: 10px;
/* min-width: 856px; */
width: 80%;
}
.download_item {
margin-bottom: 10px;

View File

@ -491,7 +491,10 @@ function updateGraph(gid) {
}
}
function createGraph(selector) {
return $.plot(selector, [{
var elem = $(selector);
elem.height(elem.width() / 2);
return $.plot(elem, [{
label: "Download Speed",
data: [],
color: "#ff0000",