|
||||||||||
| 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.Moving
com.steema.teechart.functions.ExpAverage
public class ExpAverage
Title: ExpAverage class
Description: Exponential Average Function.
Copyright (c) 2005-2006 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 | |
|---|---|
ExpAverage()
|
|
ExpAverage(IBaseChart c)
|
|
| Method Summary | |
|---|---|
double |
calculate(Series s,
int firstIndex,
int lastIndex)
Performs function operation on SourceSeries series. |
java.lang.String |
getDescription()
Gets descriptive text. |
double |
getWeight()
Performs an Exponential average based on its DataSource values. |
void |
setWeight(double value)
Performs an Exponential average based on its DataSource values. |
| Methods inherited from class com.steema.teechart.functions.Moving |
|---|
doCalculation |
| Methods inherited from class com.steema.teechart.functions.Function |
|---|
addFunctionXY, addPoints, calculateAllPoints, calculateByPeriod, calculateMany, calculatePeriod, 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 ExpAverage()
public ExpAverage(IBaseChart c)
| Method Detail |
|---|
public double getWeight()
public void setWeight(double value)
throws ChartException
value - double
TeeChartException
ChartExceptiongetWeight()
public double calculate(Series s,
int firstIndex,
int lastIndex)
calculate in class Functions - SeriesfirstIndex - intlastIndex - 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 | |||||||||