public class DownSampling extends Function
canUsePeriod, dPeriod, HideSourceList, noSourceRequired, series, SingleSource, updatingchart, InternalUse| Constructor and Description |
|---|
DownSampling() |
DownSampling(IBaseChart c) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPoints(java.util.ArrayList source)
Gets all points from Source series, performs a function operation and
stores results in ParentSeries.
|
java.lang.String |
getDescription()
Gets descriptive text.
|
int |
getDisplayedPointCount() |
DownSamplingMethod |
getMethod() |
int |
getReducedSize() |
double |
getTolerance() |
int |
reduce(DownSamplingMethod algorithm,
Series s,
double tol,
int lbound,
int ubound,
double[] rx,
double[] ry,
ColorList colors,
Color color) |
void |
setDisplayedPointCount(int value) |
void |
setMethod(DownSamplingMethod value) |
void |
setTolerance(double value) |
addFunctionXY, calculate, calculateAllPoints, calculateByPeriod, calculateMany, calculatePeriod, clear, dispose, doCalculation, getPeriod, getPeriodAlign, getPeriodStyle, getSeries, newInstance, readResolve, recalculate, setPeriod, setPeriodAlign, setPeriodStyle, setSeries, valueListgetChart, invalidate, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringPropertypublic DownSampling()
public DownSampling(IBaseChart c)
public int reduce(DownSamplingMethod algorithm, Series s, double tol, int lbound, int ubound, double[] rx, double[] ry, ColorList colors, Color color)
public int getReducedSize()
public int getDisplayedPointCount()
public void setDisplayedPointCount(int value)
public double getTolerance()
public void setTolerance(double value)
public DownSamplingMethod getMethod()
public void setMethod(DownSamplingMethod value)
public void addPoints(java.util.ArrayList source)
Functionpublic java.lang.String getDescription()
getDescription in class Function