Package jcckit.data

Class DataPlot


public class DataPlot extends DataContainer
A plot is a DataContainer of DataCurves.
  • Field Details

  • Constructor Details

    • DataPlot

      public DataPlot()
      Creates an empty instance.
    • DataPlot

      public DataPlot(ConfigParameters config)
      Creates an instance from the specified config parameters.
      Key & Default ValueTypeMandatory Description
      curvesString[]yes List of keys denoting data curves. Each key refers to config parameters used in the constructor of DataCurve.
  • Method Details

    • create

      public static DataPlot create(ConfigParameters config)
      Convenient method to create a DataPlot based on the specified config parameters. It is a short-cut of new DataPlot(config.getNode("data")).
    • isValid

      protected boolean isValid(DataElement element)
      Returns true if element is an instance of DataCurve.
      Specified by:
      isValid in class DataContainer
      Parameters:
      element - DataElement to be checked.