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 Summary

    Modifier and Type
    Method
    Description
    long
    Maximum time data should be kept.
    void
    The metric needs to be redrawn.
  • Method Details

    • 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