LegendHorizontalPosition Enum

Lists the values specifying the legend's horizontal position within a chart.

Declaration

public final enum LegendHorizontalPosition
extends Enum<LegendHorizontalPosition>

The following methods use the LegendHorizontalPosition enumeration's values:

Inheritance

Object
java.lang.Enum<LegendHorizontalPosition>
LegendHorizontalPosition

Implements

java.lang.Comparable<LegendHorizontalPosition>
java.io.Serializable

Inherited Members

java.lang.Object.equals(java.lang.Object)
java.lang.Object.hashCode()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.toString()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long, int)
java.lang.Enum<E>.compareTo(E)
java.lang.Enum<E>.equals(java.lang.Object)
java.lang.Enum<E>.getDeclaringClass()
java.lang.Enum<E>.hashCode()
java.lang.Enum<E>.name()
java.lang.Enum<E>.ordinal()
java.lang.Enum<E>.toString()
java.lang.Enum<E>.valueOf<T>(java.lang.Class<T>, java.lang.String)

Fields

LegendHorizontalPosition.CENTER Field

Centers the legend horizontally within a chart.

Declaration

public static final LegendHorizontalPosition CENTER

Field Value

Type Description

The following image demonstrates this behavior:

Center

LegendHorizontalPosition.LEFT Field

The legend is positioned on the plot area's left side.

Declaration

public static final LegendHorizontalPosition LEFT

Field Value

Type Description

The following image demonstrates this behavior:

Left

LegendHorizontalPosition.LEFT_OUTSIDE Field

The legend is positioned outside of the plot area's left side.

Declaration

public static final LegendHorizontalPosition LEFT_OUTSIDE

Field Value

Type Description

The following image demonstrates this behavior:

Left-outside

LegendHorizontalPosition.RIGHT Field

The legend is positioned on the plot area's right side.

Declaration

public static final LegendHorizontalPosition RIGHT

Field Value

Type Description

The following image demonstrates this behavior:

Right

LegendHorizontalPosition.RIGHT_OUTSIDE Field

The legend is positioned outside of the plot area's right side.

Declaration

public static final LegendHorizontalPosition RIGHT_OUTSIDE

Field Value

Type Description

The following image demonstrates this behavior:

Right-outside

Methods

LegendHorizontalPosition.valueOf(String) Method

Returns the enumeration constant with the specified name.

Declaration

public static LegendHorizontalPosition valueOf(String name)

Parameters

Type Name Description
String name

The name of the enumeration constant to return.

Returns

Type Description

The LegendHorizontalPosition enumeration constant with the specified name.

LegendHorizontalPosition.values() Method

Returns the array containing all the LegendHorizontalPosition enumeration values in the order they are declared.

Declaration

public static LegendHorizontalPosition[] values()

Returns

Type Description
LegendHorizontalPosition[]

The array of the LegendHorizontalPosition enumeration values.