Package org.geysermc.geyser.util
Class Metrics.SingleLineChart
java.lang.Object
org.geysermc.geyser.util.Metrics.CustomChart
org.geysermc.geyser.util.Metrics.SingleLineChart
- Enclosing class:
- Metrics
Represents a custom single line chart.
-
Constructor Summary
ConstructorDescriptionSingleLineChart(String chartId, Callable<Integer> callable)
Class constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected com.fasterxml.jackson.databind.node.ObjectNode
-
Constructor Details
-
SingleLineChart
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
-