Interface Metric.Plotter

  • All Known Implementing Classes:
    PlayerMetricChart
    Enclosing class:
    Metric

    public static interface Metric.Plotter
    Represents an object that can plot a metric.
    • Method Detail

      • requestPlot

        void requestPlot​(Metric metric)
        The metric needs to be redrawn. Probably due to data change
        Parameters:
        metric - Metric to draw
      • getMaximumDataAgeMs

        long getMaximumDataAgeMs()
        Maximum time data should be kept. Used to remove old data points.
        Returns:
        time data should be kept