Class Metrics.SingleLineChart

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

public abstract static class Metrics.SingleLineChart extends Metrics.CustomChart
Represents a custom single line chart.
  • Constructor Details

    • SingleLineChart

      public SingleLineChart(String chartId)
      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 class Metrics.CustomChart