Disabled average online players graphing

Affects issues:
- Reopen #1796
This commit is contained in:
Risto Lahtela 2021-09-18 21:25:03 +03:00
parent 4b24cf1cdd
commit b3674dfbda

View File

@ -339,7 +339,7 @@ function playersChart(id, playersOnlineSeries, sel) {
type: s.type.spline, type: s.type.spline,
tooltip: s.tooltip.zeroDecimals, tooltip: s.tooltip.zeroDecimals,
data: averageGroupPoints(groupByInterval, minDate), data: averageGroupPoints(groupByInterval, minDate),
color: "#1E90FF", color: "#02458d",
yAxis: 0 yAxis: 0
}; };
} }
@ -360,7 +360,7 @@ function playersChart(id, playersOnlineSeries, sel) {
type: s.type.spline, type: s.type.spline,
tooltip: s.tooltip.zeroDecimals, tooltip: s.tooltip.zeroDecimals,
data: [], data: [],
color: "#1E90FF", color: "#02458d",
yAxis: 0 yAxis: 0
}; };
@ -373,18 +373,20 @@ function playersChart(id, playersOnlineSeries, sel) {
softMax: 2, softMax: 2,
softMin: 0 softMin: 0
}, },
/* Average online players graph Disabled
xAxis: { xAxis: {
events: { events: {
afterSetExtremes: updateAveragePlayers afterSetExtremes: updateAveragePlayers
} }
}, },
*/
title: {text: ''}, title: {text: ''},
plotOptions: { plotOptions: {
areaspline: { areaspline: {
fillOpacity: 0.4 fillOpacity: 0.4
} }
}, },
series: [playersOnlineSeries, emptyAveragePlayersSeries] series: [playersOnlineSeries, /*emptyAveragePlayersSeries*/]
})); }));
} }