Package info.monitorenter.gui.chart.traces.computing

Contains ITrace2D implementations of jchart2d that apply computations on the input/output datapoints before they provide them to the chart.

See:
          Description

Class Summary
Trace2DArithmeticMean A trace that accumulates the latest n points added to points with the arithmetic mean value.
Trace2DArithmeticMeanX A trace that accumulates the latest n x values added to points with the arithmetic mean x value and the latest y value.
Trace2DArithmeticMeanY A trace that accumulates the latest n y values added to points with the arithmetic mean y value and the latest x value.
 

Package info.monitorenter.gui.chart.traces.computing Description

Contains ITrace2D implementations of jchart2d that apply computations on the input/output datapoints before they provide them to the chart.

One example is a trace that accumulates the arithmetic mean of the n last input datapoints into one internal datapoint.

Please note that these traces can be used in two modes:

  1. Stand alone:
    Add the ITrace2D implementation to a chart and add data points to it as normal.
  2. Computing trace:
    Add the ITrace2D implementation as a computing trace to an existing trace via ITrace2D.addComputingTrace(info.monitorenter.gui.chart.ITrace2D) and only add data points to the original trace. Add the computing trace to the same chart and updates of the original trace will be reflected on the computing trace as well.

Since:
2.0.0
Version:
$Revision: 1.3 $
See Also:
ITrace2D


Copyright © 2001 - 2010 LGPL, All Rights Footloose.