public static class Metrics.SimpleBarChart extends Metrics.CustomChart
Constructor and Description |
---|
SimpleBarChart(java.lang.String chartId,
java.util.concurrent.Callable<java.util.Map<java.lang.String,java.lang.Integer>> callable)
Class constructor.
|
Modifier and Type | Method and Description |
---|---|
protected org.json.simple.JSONObject |
getChartData() |
public SimpleBarChart(java.lang.String chartId, java.util.concurrent.Callable<java.util.Map<java.lang.String,java.lang.Integer>> callable)
chartId
- The id of the chart.callable
- The callable which is used to request the chart data.protected org.json.simple.JSONObject getChartData() throws java.lang.Exception
getChartData
in class Metrics.CustomChart
java.lang.Exception