com.steema.teechart.functions
Class DownSampling
java.lang.Object
com.steema.teechart.TeeBase
com.steema.teechart.functions.Function
com.steema.teechart.functions.DownSampling
public class DownSampling
- extends Function
Methods inherited from class com.steema.teechart.functions.Function |
addFunctionXY, calculate, calculateAllPoints, calculateByPeriod, calculateMany, calculatePeriod, clear, dispose, doCalculation, getPeriod, getPeriodAlign, getPeriodStyle, getSeries, newInstance, readResolve, recalculate, setPeriod, setPeriodAlign, setPeriodStyle, setSeries, valueList |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DownSampling
public DownSampling()
DownSampling
public DownSampling(IBaseChart c)
reduce
public int reduce(DownSamplingMethod algorithm,
Series s,
double tol,
int lbound,
int ubound,
double[] rx,
double[] ry,
ColorList colors,
Color color)
getReducedSize
public int getReducedSize()
getDisplayedPointCount
public int getDisplayedPointCount()
setDisplayedPointCount
public void setDisplayedPointCount(int value)
getTolerance
public double getTolerance()
setTolerance
public void setTolerance(double value)
getMethod
public DownSamplingMethod getMethod()
setMethod
public void setMethod(DownSamplingMethod value)
addPoints
public void addPoints(java.util.Vector source)
- Description copied from class:
Function
- Gets all points from Source series, performs a function operation and
stores results in ParentSeries.
- Overrides:
addPoints
in class Function
- Parameters:
source
- ArrayList
getDescription
public java.lang.String getDescription()
- Gets descriptive text.
- Overrides:
getDescription
in class Function
- Returns:
- String