org.omegahat.Graphics.Plots
Class DynamicTimeSeriesStack
java.lang.Object
|
+--org.omegahat.Graphics.Primitives.GraphicalObject
|
+--org.omegahat.Graphics.Primitives.RGO
|
+--org.omegahat.Graphics.Primitives.GraphicalContainer
|
+--org.omegahat.Graphics.Plots.DynamicTimeSeriesStack
- All Implemented Interfaces:
- Addable, Copyable, GraphicalComponentInt, GraphicalContainerInt, MathOperable, ScaledComponentInt, SimpleGraphicalContainerInt, Subsettable, Tree
- Direct Known Subclasses:
- PlotListener
- public class DynamicTimeSeriesStack
- extends GraphicalContainer
| Fields inherited from class org.omegahat.Graphics.Primitives.RGO |
region |
| Methods inherited from class org.omegahat.Graphics.Primitives.GraphicalContainer |
add, addGraphicalObject, addGraphicalObject, addGraphicalObject, addGraphicalObject, addGraphicalObject, addGraphicalObject, addGraphicalObject, addGraphicalObject, addGraphicalObject, addGraphicalObject, addValue, copy, copy, draw, drawChildren, get, getChild, getChildCount, getChildren, getDevice, getOrigin, getRegionAllocator, getXScale, getYScale, parent, parent, remove, removeGraphicalObject, removeGraphicalObject, setOrigin, setRegionAllocator, setXScale, setYScale, subset, subset, transform, transform |
| Methods inherited from class org.omegahat.Graphics.Primitives.RGO |
center, centre, createRegionDescription, createRegionDescription, getRegion, height, height, setHJust, setRegion, setVJust, width, width, x, x, y, y |
| Methods inherited from class org.omegahat.Graphics.Primitives.GraphicalObject |
cacheSize, getFontSize, getFontSize, getParameters, getParents, getStatus, isActive, isVisible, lastHeightCM, lastRegion, lastWidthCM, parents, setActive, setParameters, setParents, setVisible |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
numSeries
protected int numSeries
DynamicTimeSeriesStack
public DynamicTimeSeriesStack()
DynamicTimeSeriesStack
public DynamicTimeSeriesStack(int numSeries)
- Construct a stack for the given number of series.
getNumSeries
public int getNumSeries()
make
public void make(int numSeries)
- Construct the object for the given number of series and the
given scale steps.
getTimeSeries
public DynamicTimeSeries getTimeSeries(int which)
editXScale
public void editXScale(double min,
double max)
editYScale
public void editYScale(int which,
double min,
double max)
addValue
public void addValue(int which,
double value,
boolean update)
addValues
public void addValues(double[] values,
boolean update)