Enum Class PlotOption

java.lang.Object
java.lang.Enum<PlotOption>
com.iizix.prop.ui.chart.plot2d.PlotOption
All Implemented Interfaces:
IPropCnrBoolean, Serializable, Comparable<PlotOption>, Constable

public enum PlotOption extends Enum<PlotOption> implements IPropCnrBoolean
The Plot2D boolean settings the can be set or retrieved.
Author:
Christopher Mindus
  • Nested Class Summary Link icon

    Nested classes/interfaces inherited from class java.lang.Enum Link icon

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary Link icon

    Enum Constants
    Enum Constant
    Description
    Whether or not to draw areas on this plot.
    Whether the markers are cached from one rendering to another.
    Whether a fixed precision must be applied to data values for display.
    Grid option whether to show lines at the major ticks along the horizontal axis.
    Grid option whether to show lines at the minor ticks along the horizontal axis.
    Grid option whether to show horizontal stripes.
    Whether or not to use HTML to render labels.
    Whether when there is a null data point in the data the plot interpolates it or if the lines is split at that point.
    Whether or not to draw labels on this plot.
    Whether or not to draw lines on this plot.
    Whether or not to draw markers at data points on this plot.
    Whether labels of slices small to the point of not being visible are omitted.
    Grid option whether or not the grid is rendered when drawn at horizontal or vertical axis position.
    Whether or not to draw lines on this plot.
    Grid option whether to show lines at the major ticks along the vertical axis.
    Grid option whether to show lines at the major ticks along the vertical axis.
    Grid option whether to show vertical stripes.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    boolean
    Gets the default value when the property is not set.
    Returns the name of the property, usually starting with '$'.
    static PlotOption
    Returns the enum constant of this class with the specified name.
    static PlotOption[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object Link icon

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details Link icon

    • LABELS Link icon

      public static final PlotOption LABELS
      Whether or not to draw labels on this plot.

      Defaults to true.

    • HTML_LABELS Link icon

      public static final PlotOption HTML_LABELS
      Whether or not to use HTML to render labels.

      Defaults to true.

    • OMIT_LABELS Link icon

      public static final PlotOption OMIT_LABELS
      Whether labels of slices small to the point of not being visible are omitted.

      Default false.

    • TICKS Link icon

      public static final PlotOption TICKS
      Whether or not to draw lines on this plot.

      Default varies depending on the plot.

    • LINES Link icon

      public static final PlotOption LINES
      Whether or not to draw lines on this plot.

      Defaults to true.

    • AREAS Link icon

      public static final PlotOption AREAS
      Whether or not to draw areas on this plot.

      Defaults to false.

    • MARKERS Link icon

      public static final PlotOption MARKERS
      Whether or not to draw markers at data points on this plot.

      Default is false.

    • FIXED Link icon

      public static final PlotOption FIXED
      Whether a fixed precision must be applied to data values for display.

      Default is true.

    • ENABLE_CACHE Link icon

      public static final PlotOption ENABLE_CACHE
      Whether the markers are cached from one rendering to another. This improves the rendering performance of successive rendering but penalize the first rendering.

      Default false.

    • INTERPOLATE Link icon

      public static final PlotOption INTERPOLATE
      Whether when there is a null data point in the data the plot interpolates it or if the lines is split at that point.

      Default false.

    • H_MAJOR_LINES Link icon

      public static final PlotOption H_MAJOR_LINES
      Grid option whether to show lines at the major ticks along the horizontal axis.

      Default is true.

    • H_MINOR_LINES Link icon

      public static final PlotOption H_MINOR_LINES
      Grid option whether to show lines at the minor ticks along the horizontal axis.

      Default is false.

    • V_MAJOR_LINES Link icon

      public static final PlotOption V_MAJOR_LINES
      Grid option whether to show lines at the major ticks along the vertical axis.

      Default is true.

    • V_MINOR_LINES Link icon

      public static final PlotOption V_MINOR_LINES
      Grid option whether to show lines at the major ticks along the vertical axis.

      Default is false.

    • H_STRIPES Link icon

      public static final PlotOption H_STRIPES
      Grid option whether to show horizontal stripes.

      Default is false.

    • V_STRIPES Link icon

      public static final PlotOption V_STRIPES
      Grid option whether to show vertical stripes.

      Default is false.

    • RENDER_ON_AXIS Link icon

      public static final PlotOption RENDER_ON_AXIS
      Grid option whether or not the grid is rendered when drawn at horizontal or vertical axis position.

      Default is true.

  • Method Details Link icon

    • values Link icon

      public static PlotOption[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf Link icon

      public static PlotOption valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getDefaultValue Link icon

      public boolean getDefaultValue()
      Gets the default value when the property is not set.
      Specified by:
      getDefaultValue in interface IPropCnrBoolean
    • getPropName Link icon

      public String getPropName()
      Returns the name of the property, usually starting with '$'.
      Specified by:
      getPropName in interface IPropCnrBoolean