Class Metrics.SimplePie

java.lang.Object
ch.njol.skript.Metrics.CustomChart
ch.njol.skript.Metrics.SimplePie
Enclosing class:
Metrics

public abstract static class Metrics.SimplePie extends Metrics.CustomChart
Represents a custom simple pie.
  • Constructor Details

    • SimplePie

      public SimplePie(String chartId)
      Class constructor.
      Parameters:
      chartId - The id of the chart.
  • Method Details

    • getValue

      public abstract String getValue()
      Gets the value of the pie.
      Returns:
      The value of the pie.
    • getChartData

      protected org.json.simple.JSONObject getChartData()
      Specified by:
      getChartData in class Metrics.CustomChart