Package net.citizensnpcs
Class Metrics.SingleLineChart
java.lang.Object
net.citizensnpcs.Metrics.CustomChart
net.citizensnpcs.Metrics.SingleLineChart
- Enclosing class:
Metrics
-
Constructor Summary
ConstructorDescriptionSingleLineChart
(String chartId, Callable<Integer> callable) Class constructor. -
Method Summary
Methods inherited from class net.citizensnpcs.Metrics.CustomChart
getRequestJsonObject
-
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
-