All Known Implementing Classes:
DownSampleImpl, LargestTriangleThreeBuckets, LargestTriangleThreeBucketsTime

public interface DownSampler
A class that implement a downsampler, used to reduce the number of point to display.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Represents a dataset containing timestamps and corresponding values.
  • Method Summary

    All Methods
    Modifier and Type
    Method
    Description
    downsize(long[] timestamps, double[] values)
    Downsample the given data.
  • Method Details

    • downsize

      DownSampler.DataSet downsize(long[] timestamps, double[] values)
      Downsample the given data.
      Parameters:
      timestamps - the timestamps, parallel to values
      values - the values, parallel to timestamps
      Returns:
      the downsampled data set