Fixed export issues

This commit is contained in:
Risto Lahtela 2021-02-11 12:58:30 +02:00
parent 794c995012
commit 92e98948ec
3 changed files with 18 additions and 17 deletions

View File

@ -117,6 +117,7 @@ public class NetworkPageExporter extends FileExporter {
"network/playerbaseOverview",
"graph?type=playersOnline&server=" + serverUUID,
"graph?type=uniqueAndNew",
"graph?type=hourlyUniqueAndNew",
"graph?type=serverPie",
"graph?type=activity",
"graph?type=geolocation",

View File

@ -126,12 +126,13 @@ public class ServerPageExporter extends FileExporter {
"playerVersus?server=" + serverUUID,
"playerbaseOverview?server=" + serverUUID,
"performanceOverview?server=" + serverUUID,
"graph?type=performance&server=" + serverUUID,
"graph?type=optimizedPerformance&server=" + serverUUID,
"graph?type=aggregatedPing&server=" + serverUUID,
"graph?type=worldPie&server=" + serverUUID,
"graph?type=activity&server=" + serverUUID,
"graph?type=geolocation&server=" + serverUUID,
"graph?type=uniqueAndNew&server=" + serverUUID,
"graph?type=hourlyUniqueAndNew&server=" + serverUUID,
"graph?type=serverCalendar&server=" + serverUUID,
"graph?type=punchCard&server=" + serverUUID,
"players?server=" + serverUUID,

View File

@ -856,6 +856,21 @@
spline: 'spline'
}
};
// TODO remove
const v = {
colors: {
playersOnline: '${playersGraphColor}',
newPlayers: '#8BC34A',
geolocationsLow: '${worldMapColLow}',
geolocationsHigh: '${worldMapColHigh}',
maxPing: '${maxPingColor}',
minPing: '${minPingColor}',
avgPing: '${avgPingColor}'
},
values: {
timezoneOffset: ${timeZone}
}
};
try {
refreshBarrierMs = ${refreshBarrier};
@ -867,22 +882,6 @@
refreshingJsonRequest("./v1/sessions", loadSessionAccordion, 'sessions-overview');
setLoadingText('Rendering graphs..');
// TODO remove
const v = {
colors: {
playersOnline: '${playersGraphColor}',
newPlayers: '#8BC34A',
geolocationsLow: '${worldMapColLow}',
geolocationsHigh: '${worldMapColHigh}',
maxPing: '${maxPingColor}',
minPing: '${minPingColor}',
avgPing: '${avgPingColor}'
},
values: {
timezoneOffset: ${timeZone}
}
};
Highcharts.setOptions({
lang: {noData: "No Data to Display"},
time: {timezoneOffset: v.values.timezoneOffset * 60}