HistoryCollapsing
, HistoryCollapsingAverage
, HistoryCollapsingDiscard
, HistoryComplete
, HistoryScrolling
, HistoryStatistics
public interface History
Modifier and Type | Method | Description |
---|---|---|
boolean |
addValue(double x,
double y) |
Adds the given x, y pair to the History.
|
double[] |
getHistory() |
Returns an array containing the y values that have been added to the
History.
|
int |
getHistoryLength() |
Returns the number of data points tracked by the History.
|
int |
getSampleCount() |
Returns the number of data samples currently held by the History.
|
double[] |
getXValues() |
Returns an array containing the x values that have been added to the
History.
|
void |
reset() |
Resets the History.
|
void |
setHistoryLength(int n) |
Sets the number of data points to be tracked by the History.
|
void setHistoryLength(int n)
int getHistoryLength()
int getSampleCount()
void reset()
boolean addValue(double x, double y)
double[] getXValues()
double[] getHistory()