Class GraphJSONCreator
java.lang.Object
com.djrapitops.plan.delivery.rendering.json.graphs.GraphJSONCreator
Creates Graph related Data JSON.
-
Constructor Summary
ConstructorDescriptionGraphJSONCreator
(PlanConfig config, Locale locale, Theme theme, DBSystem dbSystem, Graphs graphs) -
Method Summary
Modifier and TypeMethodDescriptionactivityGraphsJSONAsMap
(ServerUUID serverUUID) createActivityGraphJSON
(DateMap<Map<String, Integer>> activityData) createGeolocationJSON
(Map<String, Integer> geolocationCounts) createUniqueAndNewJSON
(LineGraphFactory lineGraphs, NavigableMap<Long, Integer> uniquePerDay, NavigableMap<Long, Integer> newPerDay, long gapFillPeriod) geolocationGraphsJSONAsMap
(ServerUUID serverUUID) hourlyUniqueAndNewGraphJSON
(ServerUUID serverUUID) joinAddressesByDay
(long after, long before, List<String> addressFilter) joinAddressesByDay
(ServerUUID serverUUID, long after, long before, List<String> addressFilter) optimizedPerformanceGraphJSON
(ServerUUID serverUUID) performanceGraphJSON
(ServerUUID serverUUID) pingGraphsJSON
(ServerUUID serverUUID) playersOnlineGraph
(ServerUUID serverUUID) punchCardJSONAsMap
(ServerUUID serverUUID) serverCalendarJSON
(ServerUUID serverUUID) serverWorldPieJSONAsMap
(ServerUUID serverUUID) void
translateUnknown
(Map<String, Integer> joinAddresses) uniqueAndNewGraphJSON
(ServerUUID serverUUID)
-
Constructor Details
-
GraphJSONCreator
@Inject public GraphJSONCreator(PlanConfig config, Locale locale, Theme theme, DBSystem dbSystem, Graphs graphs)
-
-
Method Details
-
performanceGraphJSON
-
optimizedPerformanceGraphJSON
-
playersOnlineGraph
-
uniqueAndNewGraphJSON
-
hourlyUniqueAndNewGraphJSON
-
uniqueAndNewGraphJSON
-
hourlyUniqueAndNewGraphJSON
-
serverCalendarJSON
-
networkCalendarJSON
-
serverWorldPieJSONAsMap
-
activityGraphsJSONAsMap
-
createActivityGraphJSON
-
activityGraphsJSONAsMap
-
geolocationGraphsJSONAsMap
-
createGeolocationJSON
-
geolocationGraphsJSONAsMap
-
pingGraphsJSON
-
punchCardJSONAsMap
-
serverPreferencePieJSONAsMap
-
translateUnknown
-
joinAddressesByDay
-
joinAddressesByDay
-
proxyPlayersOnlineGraphs
-