mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-23 06:25:27 -07:00
hide not needed options on lib stats graph tab
This commit is contained in:
parent
937993264f
commit
42d5ad5787
1 changed files with 8 additions and 0 deletions
|
@ -588,6 +588,8 @@
|
||||||
function loadGraphsTab1(time_range, yaxis) {
|
function loadGraphsTab1(time_range, yaxis) {
|
||||||
$('#days-selection').show();
|
$('#days-selection').show();
|
||||||
$('#months-selection').hide();
|
$('#months-selection').hide();
|
||||||
|
$('#user-selection').show();
|
||||||
|
$('#yaxis-selection').show();
|
||||||
|
|
||||||
setGraphFormat(yaxis);
|
setGraphFormat(yaxis);
|
||||||
|
|
||||||
|
@ -681,6 +683,8 @@
|
||||||
function loadGraphsTab2(time_range, yaxis) {
|
function loadGraphsTab2(time_range, yaxis) {
|
||||||
$('#days-selection').show();
|
$('#days-selection').show();
|
||||||
$('#months-selection').hide();
|
$('#months-selection').hide();
|
||||||
|
$('#user-selection').show();
|
||||||
|
$('#yaxis-selection').show();
|
||||||
|
|
||||||
setGraphFormat(yaxis);
|
setGraphFormat(yaxis);
|
||||||
|
|
||||||
|
@ -774,6 +778,8 @@
|
||||||
function loadGraphsTab3(time_range, yaxis) {
|
function loadGraphsTab3(time_range, yaxis) {
|
||||||
$('#days-selection').hide();
|
$('#days-selection').hide();
|
||||||
$('#months-selection').show();
|
$('#months-selection').show();
|
||||||
|
$('#user-selection').show();
|
||||||
|
$('#yaxis-selection').show();
|
||||||
|
|
||||||
setGraphFormat(yaxis);
|
setGraphFormat(yaxis);
|
||||||
|
|
||||||
|
@ -801,6 +807,8 @@
|
||||||
|
|
||||||
// Fixed as graph uses own measurement 'addition count' with formatting of 'plays'
|
// Fixed as graph uses own measurement 'addition count' with formatting of 'plays'
|
||||||
setGraphFormat("plays");
|
setGraphFormat("plays");
|
||||||
|
$('#user-selection').hide();
|
||||||
|
$('#yaxis-selection').hide();
|
||||||
|
|
||||||
var _graph_1_call = $.ajax({
|
var _graph_1_call = $.ajax({
|
||||||
url: "get_additions_by_date",
|
url: "get_additions_by_date",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue