public class StdDeviation extends Function
Title: StdDeviation class
Description: Standard Deviation Function.
Copyright (c) 2005-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
canUsePeriod, dPeriod, HideSourceList, noSourceRequired, series, SingleSource, updating
chart, InternalUse
Constructor and Description |
---|
StdDeviation() |
StdDeviation(IBaseChart c) |
Modifier and Type | Method and Description |
---|---|
double |
calculate(Series s,
int firstIndex,
int lastIndex)
Performs function operation on SourceSeries series.
First and Last parameters are ValueIndex of first and last point used in calculation. |
double |
calculateMany(java.util.ArrayList sourceSeries,
int valueIndex)
Performs function operation on list of series (SourceSeriesList).
The ValueIndex parameter defines ValueIndex of point in each Series in list. You can override CalculateMany function to perform customized calculation on list of SourceSeries. |
boolean |
getComplete()
Enables complete StdDeviation of input Series.
Default value: false |
java.lang.String |
getDescription()
Gets descriptive text.
|
void |
setComplete(boolean value)
Enables complete StdDeviation of input Series.
Default value: false |
addFunctionXY, addPoints, calculateAllPoints, calculateByPeriod, calculatePeriod, clear, dispose, doCalculation, getPeriod, getPeriodAlign, getPeriodStyle, getSeries, newInstance, readResolve, recalculate, setPeriod, setPeriodAlign, setPeriodStyle, setSeries, valueList
getChart, invalidate, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
public StdDeviation()
public StdDeviation(IBaseChart c)
public boolean getComplete()
public void setComplete(boolean value)
value
- booleanpublic double calculate(Series s, int firstIndex, int lastIndex)
public double calculateMany(java.util.ArrayList sourceSeries, int valueIndex)
calculateMany
in class Function
sourceSeries
- ArrayListvalueIndex
- intpublic java.lang.String getDescription()
getDescription
in class Function