org.swtchart.internal.compress
Class CompressLineSeries

java.lang.Object
  extended by org.swtchart.internal.compress.Compress
      extended by org.swtchart.internal.compress.CompressLineSeries
All Implemented Interfaces:
ICompress

public class CompressLineSeries
extends Compress

A compressor for line series data.


Field Summary
 
Fields inherited from class org.swtchart.internal.compress.Compress
compressed, compressedIndexes, compressedXSeries, compressedYSeries, config, prevConfig, previousXGridIndex, previousYGridIndex, xLower, xSeries, xUpper, yLower, ySeries, yUpper
 
Constructor Summary
CompressLineSeries()
           
 
Method Summary
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.
 
Methods inherited from class org.swtchart.internal.compress.Compress
addToList, compress, getCompressedIndexes, getCompressedXSeries, getCompressedYSeries, isInSameGridAsPrevious, setXSeries, setYSeries
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompressLineSeries

public CompressLineSeries()
Method Detail

addNecessaryPlots

protected void addNecessaryPlots(java.util.ArrayList<java.lang.Double> xList,
                                 java.util.ArrayList<java.lang.Double> yList,
                                 java.util.ArrayList<java.lang.Integer> indexList)
Description copied from class: Compress
Adds the necessary plots.

Specified by:
addNecessaryPlots in class Compress
Parameters:
xList - the array in which x coordinate for necessary plot is stored
yList - the array in which y coordinate for necessary plot is stored
indexList - the array in which series index for necessary plot is stored