mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-07 19:31:45 +01:00
Fixed export issues
This commit is contained in:
parent
794c995012
commit
92e98948ec
@ -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",
|
||||
|
@ -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,
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user