org.swtchart.internal.compress
public interface ICompress
Modifier and Type | Method and Description |
---|---|
boolean |
compress(CompressConfig config)
Ignores the points which are in the same grid as the previous point.
|
int[] |
getCompressedIndexes()
Gets the compressed series indexes
|
double[] |
getCompressedXSeries()
Gets the compressed X series
|
double[] |
getCompressedYSeries()
Gets the compressed Y series
|
void |
setXSeries(double[] xSeries)
Sets X series which have to be sorted.
|
void |
setYSeries(double[] ySeries)
sets the Y series
|
double[] getCompressedXSeries()
double[] getCompressedYSeries()
int[] getCompressedIndexes()
void setXSeries(double[] xSeries)
xSeries
- the X seriesvoid setYSeries(double[] ySeries)
ySeries
- the Y seriesboolean compress(CompressConfig config)
config
- the configuration for compression