Enum PlotType

  • All Implemented Interfaces:
    Serializable, Comparable<PlotType>

    public enum PlotType
    extends Enum<PlotType>
    Enumeration of supported plot types.
    Since:
    4.2M1
    Version:
    $Id: 7189d3385d282d4e09730a657124f7b9dc28d876 $
    • Enum Constant Detail

      • LINE

        public static final PlotType LINE
        Line plot type.
      • AREA

        public static final PlotType AREA
        Area plot type.
      • BAR

        public static final PlotType BAR
        Bar plot type.
      • STACKEDBAR

        public static final PlotType STACKEDBAR
        Stacked Bar plot type.
      • PIE

        public static final PlotType PIE
        Pie plot type.
      • BAR3D

        public static final PlotType BAR3D
        3D bar plot type.
      • STACKEDBAR3D

        public static final PlotType STACKEDBAR3D
        Stacked 3D bar plot type.
      • LINE3D

        public static final PlotType LINE3D
        3D line plot type.
      • XYAREA

        public static final PlotType XYAREA
        xy area plot type.
      • XYLINEANDSHAPE

        public static final PlotType XYLINEANDSHAPE
        xy line and shape plot type.
      • XYLINE3D

        public static final PlotType XYLINE3D
        xy line3D plot type.
      • XYSTEP

        public static final PlotType XYSTEP
        xy step plot type.
    • Method Detail

      • values

        public static PlotType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PlotType c : PlotType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PlotType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getName

        public String getName()
        Returns:
        the name (the string representation) of this dataset type.
      • getDefaultDatasetType

        public DatasetType getDefaultDatasetType()
        Returns:
        the default dataset type used by this plot type.
      • forName

        public static PlotType forName​(String name)
        Parameters:
        name - A plot type.
        Returns:
        the plot type corresponding to the name, or null.
      • getDefaultAxisTypes

        public AxisType[] getDefaultAxisTypes()
        Returns:
        the default axis types.