public abstract static class Metrics.AdvancedBarChart extends Metrics.CustomChart
chartId
Constructor and Description |
---|
AdvancedBarChart(String chartId)
Class constructor.
|
Modifier and Type | Method and Description |
---|---|
protected org.json.simple.JSONObject |
getChartData() |
abstract HashMap<String,int[]> |
getValues(HashMap<String,int[]> valueMap)
Gets the value of the chart.
|
getRequestJsonObject
public AdvancedBarChart(String chartId)
chartId
- The id of the chart.public abstract HashMap<String,int[]> getValues(HashMap<String,int[]> valueMap)
valueMap
- Just an empty map. The only reason it exists is to make your life easier.
You don't have to create a map yourself!protected org.json.simple.JSONObject getChartData()
getChartData
in class Metrics.CustomChart
Copyright © 2018. All rights reserved.