Package org.geysermc.geyser.util
Class Metrics.AdvancedBarChart
java.lang.Object
org.geysermc.geyser.util.Metrics.CustomChart
org.geysermc.geyser.util.Metrics.AdvancedBarChart
- Enclosing class:
- Metrics
Represents a custom advanced bar chart.
-
Constructor Summary
ConstructorDescriptionAdvancedBarChart(String chartId, Callable<Map<String,int[]>> callable)
Class constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected com.fasterxml.jackson.databind.node.ObjectNode
-
Constructor Details
-
AdvancedBarChart
Class constructor.- Parameters:
chartId
- The id of the chart.callable
- The callable which is used to request the chart data.
-
-
Method Details
-
getChartData
- Specified by:
getChartData
in classMetrics.CustomChart
- Throws:
Exception
-