public class RunningSumPenDatasource extends AbstractFunctionPenDatasource
RunningSumPenDatasource provides a summing pen for the Easy Chart. It will additively plot the sum of the most recent data point added to the existing total.
Modifier and Type | Class and Description |
---|---|
static class |
RunningSumPenDatasource.RunningSumFunctionFactory |
referencedPens
Constructor and Description |
---|
RunningSumPenDatasource(java.lang.String drivingPenName) |
Modifier and Type | Method and Description |
---|---|
protected Dataset |
createDataset()
Called when the dataset needs to be re-calculated
|
initRefs, stateChanged
addPen, getDataset, getMillisRange, getNumDatapoints, isZoomTracking, setDataset, setDatasetLater, shutdown, startup, warn
public RunningSumPenDatasource(java.lang.String drivingPenName)
protected Dataset createDataset()
AbstractFunctionPenDatasource
createDataset
in class AbstractFunctionPenDatasource