mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Graphs now have the option to show duration as well as play count.
This commit is contained in:
parent
94d2d04bf9
commit
c28d403186
10 changed files with 773 additions and 126 deletions
|
@ -47,15 +47,6 @@ var hc_plays_by_day_options = {
|
|||
}
|
||||
},
|
||||
tooltip: {
|
||||
formatter: function() {
|
||||
var monthStr = moment(this.x).format("ddd MMM D");
|
||||
var s = '<b>'+ monthStr +'</b>';
|
||||
|
||||
$.each(this.points, function(i, point) {
|
||||
s += '<br/>'+point.series.name+': '+point.y;
|
||||
});
|
||||
return s;
|
||||
},
|
||||
shared: true
|
||||
},
|
||||
series: [{}]
|
||||
|
|
|
@ -49,7 +49,7 @@ var hc_plays_by_dayofweek_options = {
|
|||
}
|
||||
},
|
||||
tooltip: {
|
||||
|
||||
shared: true
|
||||
},
|
||||
series: [{}]
|
||||
};
|
|
@ -49,7 +49,7 @@ var hc_plays_by_hourofday_options = {
|
|||
}
|
||||
},
|
||||
tooltip: {
|
||||
|
||||
shared: true
|
||||
},
|
||||
series: [{}]
|
||||
};
|
|
@ -65,15 +65,6 @@ var hc_plays_by_month_options = {
|
|||
}
|
||||
},
|
||||
tooltip: {
|
||||
formatter: function() {
|
||||
var monthStr = moment(this.x).format("MMM YYYY");
|
||||
var s = '<b>'+ monthStr +'</b>';
|
||||
|
||||
$.each(this.points, function(i, point) {
|
||||
s += '<br/>'+point.series.name+': '+point.y;
|
||||
});
|
||||
return s;
|
||||
},
|
||||
shared: true
|
||||
},
|
||||
series: [{}]
|
||||
|
|
|
@ -49,7 +49,7 @@ var hc_plays_by_platform_options = {
|
|||
}
|
||||
},
|
||||
tooltip: {
|
||||
|
||||
shared: true
|
||||
},
|
||||
series: [{}]
|
||||
};
|
|
@ -49,7 +49,7 @@ var hc_plays_by_user_options = {
|
|||
}
|
||||
},
|
||||
tooltip: {
|
||||
|
||||
shared: true
|
||||
},
|
||||
series: [{}]
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue