Package com.projity.algorithm.buffer

Examples of com.projity.algorithm.buffer.SeriesCallback


  }
  private void makeSeries(XYSeries series, final Object trace, boolean cumulative, CalculatedValues calculatedValues) {
    final double scaleFactor = getScaleFactor(trace);
    final XYSeries _series = series;
    if (isTraceRectilinear(trace)) {
      calculatedValues.makeRectilinearSeries(new SeriesCallback() {
        public void add(int index, double x, double y) {
          _series.add(x,y / scaleFactor);
        }
      });
    } else {
      calculatedValues.makeSeries(cumulative,new SeriesCallback() {
        public void add(int index, double x, double y) {
          _series.add(x,y / scaleFactor);
        }
      });
    }
View Full Code Here

TOP

Related Classes of com.projity.algorithm.buffer.SeriesCallback

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.