Class MovingMaxStat

java.lang.Object
org.ow2.clif.jenkins.chart.movingstatistics.AbstractMovingStat
org.ow2.clif.jenkins.chart.movingstatistics.MovingMaxStat

public class MovingMaxStat extends AbstractMovingStat
Calculate the moving max of time series data.
  • Constructor Details

    • MovingMaxStat

      public MovingMaxStat()
  • Method Details

    • resetMovingStat

      public void resetMovingStat()
      Description copied from class: AbstractMovingStat
      Reset the movinf statistic just before calculating a new one
      Specified by:
      resetMovingStat in class AbstractMovingStat
    • calculateMovingStatInPeriod

      protected void calculateMovingStatInPeriod(double xx, double yy)
      Description copied from class: AbstractMovingStat
      Calculate the current moving statistic with a new point
      Specified by:
      calculateMovingStatInPeriod in class AbstractMovingStat
      Parameters:
      xx - x value of the point
      yy - Y value of the point
    • addMovingStatForPeriod

      protected void addMovingStatForPeriod(org.jfree.data.xy.XYSeries result, double x)
      Description copied from class: AbstractMovingStat
      Add the moving statistic to the resulting XYSeries
      Specified by:
      addMovingStatForPeriod in class AbstractMovingStat
      Parameters:
      result - Resulting XYSeries
      x - X value where to add the moving statistic