Class Metrics.SimpleMapChart

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

public abstract static class Metrics.SimpleMapChart extends Metrics.CustomChart
Represents a custom simple map chart.
  • Constructor Details

    • SimpleMapChart

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

    • getValue

      public abstract Metrics.Country getValue()
      Gets the value of the chart.
      Returns:
      The value of the chart.
    • getChartData

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