Interface IPenDatasource
- All Known Subinterfaces:
IHistogramDatasource
- All Known Implementing Classes:
AbstractCalculatedPenDatasource
,AbstractFunctionPenDatasource
,ConstantPenDatasource
,HistogramQuery
,LinearRegressionPenDatasource
,MovingAveragePenDatasource
,MultiplyPenDatasource
,PenSQLQuery
,RunningSumPenDatasource
,SpcPenDatasource
,SumDiffPenDatasource
,TagDensityHistogramSource
,TagHistoryPenDatasource
public interface IPenDatasource
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a pen to this datasource.The underlying dataset that drives this datasourceint
Return the number of datapoints currently loaded in this sourcevoid
Gives the datasource a chance to install references to other pensboolean
True if this datasource should be restarted when the zoom level changes.void
shutdown()
Shuts this datasoure down, if it has re-occurring activity.void
startup
(PMIEasyChart chart) Start this datasouce up.
-
Method Details
-
addPen
Adds a pen to this datasource. All pens will be added before startup() is called for the first time. -
initRefs
Gives the datasource a chance to install references to other pens -
startup
Start this datasouce up. This should certainly mean that the data gets generated at least once, and possibly more based upon the chart's polling settings. May be called again after shutdown(). -
shutdown
void shutdown()Shuts this datasoure down, if it has re-occurring activity. -
getNumDatapoints
int getNumDatapoints()Return the number of datapoints currently loaded in this source -
getDataset
Dataset getDataset()The underlying dataset that drives this datasource -
isZoomTracking
boolean isZoomTracking()True if this datasource should be restarted when the zoom level changes.
-