Enum Class LegendPosition

java.lang.Object
java.lang.Enum<LegendPosition>
com.independentsoft.office.odf.charts.LegendPosition
All Implemented Interfaces:
Serializable, Comparable<LegendPosition>, Constable

public enum LegendPosition extends Enum<LegendPosition>
Represents the placement of a legend.
  • Enum Constant Details

    • START

      public static final LegendPosition START
      Place legend on the left side of the plot area.
    • END

      public static final LegendPosition END
      Place legend on the right side of the plot area.
    • TOP

      public static final LegendPosition TOP
      Place legend above the plot area.
    • BOTTOM

      public static final LegendPosition BOTTOM
      Place legend below the plot area.
    • TOP_START

      public static final LegendPosition TOP_START
      Place legend in the top left corner.
    • BOTTOM_START

      public static final LegendPosition BOTTOM_START
      Place the legend in the bottom left corner.
    • TOP_END

      public static final LegendPosition TOP_END
      Place legend in the top right corner.
    • BOTTOM_END

      public static final LegendPosition BOTTOM_END
      Place legend in the bottom right corner.
  • Method Details

    • values

      public static LegendPosition[] 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

      public static LegendPosition 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