Package ch.njol.skript
Class Metrics.SimplePie
java.lang.Object
ch.njol.skript.Metrics.CustomChart
ch.njol.skript.Metrics.SimplePie
- Enclosing class:
- Metrics
Represents a custom simple 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
-
SimplePie
Class constructor.- Parameters:
chartId
- The id of the chart.
-
-
Method Details
-
getValue
Gets the value of the pie.- Returns:
- The value of the pie.
-
getChartData
protected org.json.simple.JSONObject getChartData()- Specified by:
getChartData
in classMetrics.CustomChart
-