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 Type
    Method
    Description
    void
    addPen(PenData penData)
    Adds a pen to this datasource.
    The underlying dataset that drives this datasource
    int
    Return the number of datapoints currently loaded in this source
    void
    Gives the datasource a chance to install references to other pens
    boolean
    True if this datasource should be restarted when the zoom level changes.
    void
    Shuts this datasoure down, if it has re-occurring activity.
    void
    Start this datasouce up.
  • Method Details

    • addPen

      void addPen(PenData penData)
      Adds a pen to this datasource. All pens will be added before startup() is called for the first time.
    • initRefs

      void initRefs(Map<String,PenData> allPens)
      Gives the datasource a chance to install references to other pens
    • startup

      void startup(PMIEasyChart chart)
      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.