public class ExpAverage extends Moving
Title: ExpAverage class
Description: Exponential Average Function.
Copyright (c) 2005-2018 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
canUsePeriod, dPeriod, HideSourceList, noSourceRequired, series, SingleSource, updating
chart, InternalUse
Constructor and Description |
---|
ExpAverage() |
ExpAverage(IBaseChart c) |
Modifier and Type | Method and Description |
---|---|
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.
|
doCalculation
addFunctionXY, addPoints, calculateAllPoints, calculateByPeriod, calculateMany, calculatePeriod, clear, dispose, getPeriod, getPeriodAlign, getPeriodStyle, getSeries, newInstance, readResolve, recalculate, setPeriod, setPeriodAlign, setPeriodStyle, setSeries, valueList
getChart, invalidate, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
public ExpAverage()
public ExpAverage(IBaseChart c)
public double getWeight()
public void setWeight(double value) throws ChartException
value
- doubleTeeChartException
ChartException
getWeight()
public double calculate(Series s, int firstIndex, int lastIndex)
public java.lang.String getDescription()
getDescription
in class Function