public abstract static class Metrics.AdvancedMapChart extends Metrics.CustomChart
chartId
Constructor and Description |
---|
AdvancedMapChart(String chartId)
Class constructor.
|
Modifier and Type | Method and Description |
---|---|
protected org.json.simple.JSONObject |
getChartData() |
abstract HashMap<Metrics.Country,Integer> |
getValues(HashMap<Metrics.Country,Integer> valueMap)
Gets the value of the chart.
|
getRequestJsonObject
public AdvancedMapChart(String chartId)
chartId
- The id of the chart.public abstract HashMap<Metrics.Country,Integer> getValues(HashMap<Metrics.Country,Integer> 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.