Class RunningSumPenDatasource
- java.lang.Object
 - 
- com.inductiveautomation.factorypmi.application.components.chart.easychart.AbstractCalculatedPenDatasource
 - 
- com.inductiveautomation.factorypmi.application.components.chart.easychart.AbstractFunctionPenDatasource
 - 
- com.inductiveautomation.factorypmi.application.components.chart.easychart.RunningSumPenDatasource
 
 
 
 
- 
- All Implemented Interfaces:
 IPenDatasource,java.util.EventListener,javax.swing.event.ChangeListener
public class RunningSumPenDatasource extends AbstractFunctionPenDatasource
Author: Perry Arellano-Jones Year: 2014RunningSumPenDatasource 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.
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRunningSumPenDatasource.RunningSumFunctionFactory 
- 
Field Summary
- 
Fields inherited from class com.inductiveautomation.factorypmi.application.components.chart.easychart.AbstractFunctionPenDatasource
referencedPens 
 - 
 
- 
Constructor Summary
Constructors Constructor Description RunningSumPenDatasource(java.lang.String drivingPenName) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DatasetcreateDataset()Called when the dataset needs to be re-calculated- 
Methods inherited from class com.inductiveautomation.factorypmi.application.components.chart.easychart.AbstractFunctionPenDatasource
initRefs, stateChanged 
- 
Methods inherited from class com.inductiveautomation.factorypmi.application.components.chart.easychart.AbstractCalculatedPenDatasource
addPen, getDataset, getMillisRange, getNumDatapoints, isZoomTracking, setDataset, setDatasetLater, shutdown, startup, warn 
 - 
 
 - 
 
- 
- 
Method Detail
- 
createDataset
protected Dataset createDataset()
Description copied from class:AbstractFunctionPenDatasourceCalled when the dataset needs to be re-calculated- Specified by:
 createDatasetin classAbstractFunctionPenDatasource
 
 - 
 
 -