Class Metrics.SingleLineChart

java.lang.Object
fr.andross.banitem.utils.metrics.Metrics.CustomChart
fr.andross.banitem.utils.metrics.Metrics.SingleLineChart
Enclosing class:
Metrics

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

    • SingleLineChart

      public SingleLineChart(String chartId, Callable<Integer> callable)
      Class constructor.
      Parameters:
      chartId - The id of the chart.
      callable - The callable which is used to request the chart data.
  • Method Details

    • getChartData

      protected com.google.gson.JsonObject getChartData() throws Exception
      Missing internal bStats doc.
      Specified by:
      getChartData in class Metrics.CustomChart
      Returns:
      Missing internal bStats doc.
      Throws:
      Exception - Missing internal bStats doc.