org.swtchart.internal.compress
Class CompressBarSeries

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

public class CompressBarSeries
extends Compress

A compressor for bar 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
CompressBarSeries()
           
 
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

CompressBarSeries

public CompressBarSeries()
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