LegendOrientation Enum

Lists all the possible values specifying how the chart legend items can be oriented.

Declaration

public final enum LegendOrientation
extends Enum<LegendOrientation>

The following methods use the LegendOrientation enumeration's values:

Inheritance

Object
java.lang.Enum<LegendOrientation>
LegendOrientation

Implements

java.lang.Comparable<LegendOrientation>
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

LegendOrientation.LEFT_TO_RIGHT Field

Legend items are oriented from left to right.

Declaration

public static final LegendOrientation LEFT_TO_RIGHT

Field Value

Type Description

The following image demonstrates this behavior:

Left to right

LegendOrientation.TOP_TO_BOTTOM Field

Legend items are oriented from top to bottom.

Declaration

public static final LegendOrientation TOP_TO_BOTTOM

Field Value

Type Description

The following image demonstrates this behavior:

Top to bottom

Methods

LegendOrientation.valueOf(String) Method

Returns the enumeration constant with the specified name.

Declaration

public static LegendOrientation valueOf(String name)

Parameters

Type Name Description
String name

The name of the enumeration constant to return.

Returns

Type Description

The LegendOrientation enumeration constant with the specified name.

LegendOrientation.values() Method

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

Declaration

public static LegendOrientation[] values()

Returns

Type Description
LegendOrientation[]

The array of the LegendOrientation enumeration values.