Package xyz.geik.farmer
Class Metrics.SingleLineChart
java.lang.Object
xyz.geik.farmer.Metrics.CustomChart
xyz.geik.farmer.Metrics.SingleLineChart
- Enclosing class:
Metrics
Single line chart
-
Constructor Summary
ConstructorDescriptionSingleLineChart
(String chartId, Callable<Integer> callable) Class constructor. -
Method Summary
Methods inherited from class xyz.geik.farmer.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
Description copied from class:Metrics.CustomChart
get chart data- Specified by:
getChartData
in classMetrics.CustomChart
- Returns:
- json object
- Throws:
Exception
- when something wrong
-