Modifier and Type | Class and Description |
---|---|
(package private) static class |
CompressLineSeries.STATE
the state indicating the relation between previous and current data points
|
Modifier and Type | Field and Description |
---|---|
private boolean |
isPrevOutOfRange
the flag indicating whether the previous point is out of range
|
compressed, compressedIndexes, compressedXSeries, compressedYSeries, config, prevConfig, previousXGridIndex, previousYGridIndex, xLower, xSeries, xUpper, yLower, ySeries, yUpper
Constructor and Description |
---|
CompressLineSeries() |
Modifier and Type | Method and Description |
---|---|
protected void |
addNecessaryPlots(java.util.ArrayList<java.lang.Double> xList,
java.util.ArrayList<java.lang.Double> yList,
java.util.ArrayList<java.lang.Integer> indexList)
Adds the necessary plots.
|
private CompressLineSeries.STATE |
getState(int index)
Gets the state for each plot.
|
addToList, compress, getCompressedIndexes, getCompressedXSeries, getCompressedYSeries, isInSameGridAsPrevious, setXSeries, setYSeries
private boolean isPrevOutOfRange
protected void addNecessaryPlots(java.util.ArrayList<java.lang.Double> xList, java.util.ArrayList<java.lang.Double> yList, java.util.ArrayList<java.lang.Integer> indexList)
Compress
addNecessaryPlots
in class Compress
xList
- the array in which x coordinate for necessary plot is storedyList
- the array in which y coordinate for necessary plot is storedindexList
- the array in which series index for necessary plot is storedprivate CompressLineSeries.STATE getState(int index)
index
- the index for plot