class Stack extends SourcedPlotElement
parent, srcName, valuescolor| Constructor and Description |
|---|
Stack(SourcedPlotElement parent,
String srcName,
Paint color)
Creates a stacked plot element with the specified parent, source name, and color.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
assignValues(DataProcessor dproc)
Assigns values by stacking this element's data on top of parent values.
|
(package private) Paint |
getParentColor()
Gets the color of the parent element.
|
(package private) float |
getParentLineWidth()
Gets the line width of the parent element.
|
getMaxValue, getMinValue, getValues, stackValuesStack(SourcedPlotElement parent, String srcName, Paint color)
parent - the parent plot element to stack on top ofsrcName - the name of the data sourcecolor - the color for this stacked elementvoid assignValues(DataProcessor dproc)
assignValues in class SourcedPlotElementdproc - the data processor containing source valuesPaint getParentColor()
getParentColor in class SourcedPlotElementfloat getParentLineWidth()