Package com.independentsoft.office.odf.charts

# 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.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class java.lang.Enum

  `Enum.EnumDesc<E extends Enum<E>>`

- ## Enum Constant Summary

  Enum Constants
  Enum Constant
  Description
  `BOTTOM`
  Place legend below the plot area.
  `BOTTOM_END`
  Place legend in the bottom right corner.
  `BOTTOM_START`
  Place the legend in the bottom left corner.
  `END`
  Place legend on the right side of the plot area.
  `START`
  Place legend on the left side of the plot area.
  `TOP`
  Place legend above the plot area.
  `TOP_END`
  Place legend in the top right corner.
  `TOP_START`
  Place legend in the top left corner.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static LegendPosition`
  `valueOf​(String name)`
  Returns the enum constant of this class with the specified name.
  `static LegendPosition[]`
  `values()`
  Returns an array containing the constants of this enum class, in the order they are declared.

  ### Methods inherited from class java.lang.Enum

  `clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

  ### Methods inherited from class java.lang.Object

  `getClass, notify, notifyAll, wait, wait, wait`

- ## 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