diff --git a/Plan/common/src/main/java/com/djrapitops/plan/delivery/export/NetworkPageExporter.java b/Plan/common/src/main/java/com/djrapitops/plan/delivery/export/NetworkPageExporter.java index 483e64cb3..437c64d53 100644 --- a/Plan/common/src/main/java/com/djrapitops/plan/delivery/export/NetworkPageExporter.java +++ b/Plan/common/src/main/java/com/djrapitops/plan/delivery/export/NetworkPageExporter.java @@ -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", diff --git a/Plan/common/src/main/java/com/djrapitops/plan/delivery/export/ServerPageExporter.java b/Plan/common/src/main/java/com/djrapitops/plan/delivery/export/ServerPageExporter.java index e9abc9f11..a3a63a925 100644 --- a/Plan/common/src/main/java/com/djrapitops/plan/delivery/export/ServerPageExporter.java +++ b/Plan/common/src/main/java/com/djrapitops/plan/delivery/export/ServerPageExporter.java @@ -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, diff --git a/Plan/common/src/main/resources/assets/plan/web/network.html b/Plan/common/src/main/resources/assets/plan/web/network.html index fe988ee7f..775420535 100644 --- a/Plan/common/src/main/resources/assets/plan/web/network.html +++ b/Plan/common/src/main/resources/assets/plan/web/network.html @@ -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}