ca.nanometrics.gflot.client
Class PlotModelStrategy

java.lang.Object
  extended by ca.nanometrics.gflot.client.PlotModelStrategy

public abstract class PlotModelStrategy
extends java.lang.Object

Author:
Alexander De Leon

Constructor Summary
PlotModelStrategy()
           
 
Method Summary
static PlotModelStrategy defaultStrategy()
          A plot model strategy that allows unlimited amount of datapoints.
static PlotModelStrategy downSamplingStrategy(int capacity)
           
static PlotModelStrategy downSamplingStrategy(int capacity, long maximumXValueSpan)
           
static PlotModelStrategy slidingWindowStrategy(int capacity)
           
static PlotModelStrategy slidingWindowStrategy(int capacity, long maximumXValueSpan)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlotModelStrategy

public PlotModelStrategy()
Method Detail

defaultStrategy

public static PlotModelStrategy defaultStrategy()
A plot model strategy that allows unlimited amount of datapoints.


downSamplingStrategy

public static PlotModelStrategy downSamplingStrategy(int capacity)

downSamplingStrategy

public static PlotModelStrategy downSamplingStrategy(int capacity,
                                                     long maximumXValueSpan)

slidingWindowStrategy

public static PlotModelStrategy slidingWindowStrategy(int capacity,
                                                      long maximumXValueSpan)

slidingWindowStrategy

public static PlotModelStrategy slidingWindowStrategy(int capacity)


Copyright © 2009. All Rights Reserved.