Class MovingMaxStat


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

      • MovingMaxStat

        public MovingMaxStat()
    • Method Detail

      • 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