Package ch.njol.skript
Class Metrics.SimpleMapChart
java.lang.Object
ch.njol.skript.Metrics.CustomChart
ch.njol.skript.Metrics.SimpleMapChart
- Enclosing class:
- Metrics
Represents a custom simple map chart.
-
Field Summary
Fields inherited from class ch.njol.skript.Metrics.CustomChart
chartId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.json.simple.JSONObject
abstract Metrics.Country
getValue()
Gets the value of the chart.Methods inherited from class ch.njol.skript.Metrics.CustomChart
getRequestJsonObject
-
Constructor Details
-
SimpleMapChart
Class constructor.- Parameters:
chartId
- The id of the chart.
-
-
Method Details
-
getValue
Gets the value of the chart.- Returns:
- The value of the chart.
-
getChartData
protected org.json.simple.JSONObject getChartData()- Specified by:
getChartData
in classMetrics.CustomChart
-