Package ch.njol.skript
Class Metrics.AdvancedPie
java.lang.Object
ch.njol.skript.Metrics.CustomChart
ch.njol.skript.Metrics.AdvancedPie
- Enclosing class:
- Metrics
Represents a custom advanced pie.
-
Field Summary
Fields inherited from class ch.njol.skript.Metrics.CustomChart
chartId
-
Constructor Summary
-
Method Summary
Methods inherited from class ch.njol.skript.Metrics.CustomChart
getRequestJsonObject
-
Constructor Details
-
AdvancedPie
Class constructor.- Parameters:
chartId
- The id of the chart.
-
-
Method Details
-
getValues
Gets the values of the pie.- Parameters:
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!- Returns:
- The values of the pie.
-
getChartData
protected org.json.simple.JSONObject getChartData()- Specified by:
getChartData
in classMetrics.CustomChart
-