|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.steema.teechart.TeeBase
com.steema.teechart.functions.Function
com.steema.teechart.functions.StdDeviation
public class StdDeviation
Title: StdDeviation class
Description: Standard Deviation Function.
Copyright (c) 2005-2008 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Field Summary |
---|
Fields inherited from class com.steema.teechart.functions.Function |
---|
canUsePeriod, dPeriod, HideSourceList, noSourceRequired, series, SingleSource, updating |
Fields inherited from class com.steema.teechart.TeeBase |
---|
chart |
Constructor Summary | |
---|---|
StdDeviation()
|
|
StdDeviation(IBaseChart c)
|
Method Summary | |
---|---|
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 |
Methods inherited from class com.steema.teechart.functions.Function |
---|
addFunctionXY, addPoints, calculateAllPoints, calculateByPeriod, calculatePeriod, clear, doCalculation, getPeriod, getPeriodAlign, getPeriodStyle, getSeries, newInstance, readResolve, recalculate, setPeriod, setPeriodAlign, setPeriodStyle, setSeries, valueList |
Methods inherited from class com.steema.teechart.TeeBase |
---|
getChart, invalidate, setBooleanProperty, setChart, setColorProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StdDeviation()
public StdDeviation(IBaseChart c)
Method Detail |
---|
public boolean getComplete()
public void setComplete(boolean value)
value
- booleanpublic double calculate(Series s, int firstIndex, int lastIndex)
calculate
in class Function
s
- SeriesfirstIndex
- intlastIndex
- int
public double calculateMany(java.util.ArrayList sourceSeries, int valueIndex)
calculateMany
in class Function
sourceSeries
- ArrayListvalueIndex
- int
public java.lang.String getDescription()
getDescription
in class Function
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |