Package xyz.geik.farmer
Class Metrics.AdvancedBarChart
java.lang.Object
xyz.geik.farmer.Metrics.CustomChart
xyz.geik.farmer.Metrics.AdvancedBarChart
- Enclosing class:
Metrics
advanced bar chart
-
Constructor Summary
ConstructorsConstructorDescriptionAdvancedBarChart(String chartId, Callable<Map<String, int[]>> callable) Class constructor. -
Method Summary
Methods inherited from class xyz.geik.farmer.Metrics.CustomChart
getRequestJsonObject
-
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
Description copied from class:Metrics.CustomChartget chart data- Specified by:
getChartDatain classMetrics.CustomChart- Returns:
- json object
- Throws:
Exception- when something wrong
-