Class MovingMaxStat
java.lang.Object
org.ow2.clif.jenkins.chart.movingstatistics.AbstractMovingStat
org.ow2.clif.jenkins.chart.movingstatistics.MovingMaxStat
Calculate the moving max of time series data.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddMovingStatForPeriod(org.jfree.data.xy.XYSeries result, double x) Add the moving statistic to the resulting XYSeriesprotected voidcalculateMovingStatInPeriod(double xx, double yy) Calculate the current moving statistic with a new pointvoidReset the movinf statistic just before calculating a new oneMethods inherited from class org.ow2.clif.jenkins.chart.movingstatistics.AbstractMovingStat
calculateMovingStat
-
Constructor Details
-
MovingMaxStat
public MovingMaxStat()
-
-
Method Details
-
resetMovingStat
public void resetMovingStat()Description copied from class:AbstractMovingStatReset the movinf statistic just before calculating a new one- Specified by:
resetMovingStatin classAbstractMovingStat
-
calculateMovingStatInPeriod
protected void calculateMovingStatInPeriod(double xx, double yy) Description copied from class:AbstractMovingStatCalculate the current moving statistic with a new point- Specified by:
calculateMovingStatInPeriodin classAbstractMovingStat- Parameters:
xx- x value of the pointyy- Y value of the point
-
addMovingStatForPeriod
protected void addMovingStatForPeriod(org.jfree.data.xy.XYSeries result, double x) Description copied from class:AbstractMovingStatAdd the moving statistic to the resulting XYSeries- Specified by:
addMovingStatForPeriodin classAbstractMovingStat- Parameters:
result- Resulting XYSeriesx- X value where to add the moving statistic
-