Class ChartSeries1DMeasure


public class ChartSeries1DMeasure
extends ChartSeriesMeasure
A measure to add 1D entries (y). x is auto-incremented by one at each new value.
  • Constructor Details

  • Method Details

    • setWindowSize

      public void setWindowSize​(int size)
      Overrides:
      setWindowSize in class ChartSeriesMeasure
    • addValue

      public void addValue​(double v)
      Add a new value to the series.
      Parameters:
      v - the new value
    • getCount

      public long getCount()
      Get the count of values that have been added to this series.
      Returns:
      count of values
    • getMean

      public double getMean()
      Get the mean of the series.
      Returns:
      mean of the series
    • getMax

      public double getMax()
      Get the max of the series.
      Returns:
      max of the series
    • getMin

      public double getMin()
      Get the min of the series.
      Returns:
      min of the series
    • getVariance

      public double getVariance()
      Get the variance of the series.
      Returns:
      variance of the series