Package ch.njol.skript
Class Metrics.SingleLineChart
java.lang.Object
ch.njol.skript.Metrics.CustomChart
ch.njol.skript.Metrics.SingleLineChart
- Enclosing class:
- Metrics
Represents a custom single line 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 int
getValue()
Gets the value of the chart.Methods inherited from class ch.njol.skript.Metrics.CustomChart
getRequestJsonObject
-
Constructor Details
-
SingleLineChart
Class constructor.- Parameters:
chartId
- The id of the chart.
-
-
Method Details
-
getValue
public abstract int 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
-