Class Plot2D

java.lang.Object
com.iizix.prop.GProp<GProp<?>[]>
com.iizix.prop.PropCnr
com.iizix.prop.ui.chart.plot2d.Plot2D
All Implemented Interfaces:
EventListener, IGProp<GProp<?>[]>, IPropCnr, IPropCnrBooleanSettings<PlotOption>, IPropCnrChoiceSettings<IPlotChoiceOption>, IPropCnrColorSettings<PlotColor>, IPropCnrFillSettings<PlotFill>, IPropCnrFontSettings<PlotFont>, IPropCnrIntegerSettings<PlotInteger>, IPropCnrNumberSettings<PlotNumber>, IPropCnrStringSettings<PlotString>, IPropCnrStrokeSettings<PlotStroke>, IChartContainer, Cloneable
Direct Known Subclasses:
EPlot2D

A chart series is either created in the Designer or constructed at runtime and added to the chart. The Designer chart data series persists in XML and can be predefined and only filled with data at runtime. Another way of adding data is to connect it to a VirtualSpace column in a table containing values in any of the Value number forms.
Author:
Christopher Mindus
  • Field Details

    • DEFAULT

      public static final Atom DEFAULT
      The Atom for the "default" plot ("default"). At least one "default" must be present in the chart in order to be rendered.
  • Constructor Details

    • Plot2D

      public Plot2D(String name)
      Constructs a new plot from a name.
      Parameters:
      name - The name of the plot. The name MUST be a valid Atom name and cannot start with "$".
      Throws:
      NullPointerException - If the name is null.
      IllegalArgumentException - If the name is invalid.
    • Plot2D

      public Plot2D()
      Constructs a new plot without a name.

      This constructor is used by the persistence framework and should not be used.

    • Plot2D

      public Plot2D(Atom atom)
      Constructs a new plot from an Atom name.

      This constructor is used by the persistence framework and should not be used.

      Parameters:
      atom - The atom name.
  • Method Details