Package org.swtchart.internal.compress
Class CompressScatterSeries
java.lang.Object
org.swtchart.internal.compress.Compress
org.swtchart.internal.compress.CompressScatterSeries
- All Implemented Interfaces:
ICompress
A compressor for scatter 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Adds the necessary plots.void
setLineVisible
(boolean visible) Sets the state indicating if the line is visible.Methods inherited from class org.swtchart.internal.compress.Compress
addToList, compress, getCompressedIndexes, getCompressedXSeries, getCompressedYSeries, isInSameGridAsPrevious, setXSeries, setYSeries
-
Constructor Details
-
CompressScatterSeries
public CompressScatterSeries()
-
-
Method Details
-
addNecessaryPlots
protected void addNecessaryPlots(ArrayList<Double> xList, ArrayList<Double> yList, ArrayList<Integer> indexList) Description copied from class:Compress
Adds the necessary plots.- Specified by:
addNecessaryPlots
in classCompress
- Parameters:
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 stored
-
setLineVisible
public void setLineVisible(boolean visible) Sets the state indicating if the line is visible.- Parameters:
visible
- the state indicating if the line is visible
-