Class Plot2D

    • Field Detail

      • 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 Detail

      • Plot2D

        public Plot2D​(java.lang.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:
        java.lang.NullPointerException - If the name is null.
        java.lang.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 Detail

      • clone

        public Plot2D clone()
        Clone must be overridden.
        Overrides:
        clone in class PropCnr
      • getLabelStyle

        public PlotLabelStyle getLabelStyle()
        Gets the LabelStyle option.
        Returns:
        The choice set, or the PlotLabelStyle.DEFAULT if the option is undefined, but really depends on the plot type in the end.
      • verify

        public void verify​(PropVerification verification)
        Verifies this property container. The check performed is the extension of classes and that no circular reference is present.
        Specified by:
        verify in interface IGProp<GProp<?>[]>
        Overrides:
        verify in class PropCnr
        Parameters:
        verification - The property verification class.