LegendOrientation Enum

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

Syntax

public final enum LegendOrientation
extends Enum<LegendOrientation>

The following methods use the LegendOrientation enumeration's values:

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

LEFT_TO_RIGHT Field

Legend items are oriented from left to right.

Syntax

public static final LegendOrientation LEFT_TO_RIGHT

The following image demonstrates this behavior:

Left to right

TOP_TO_BOTTOM Field

Legend items are oriented from top to bottom.

Syntax

public static final LegendOrientation TOP_TO_BOTTOM

The following image demonstrates this behavior:

Top to bottom

Methods

valueOf(String) Method

Returns the enumeration constant with the specified name.

Syntax

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.

values() Method

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

Syntax

public static LegendOrientation[] values()

Returns

Type Description
LegendOrientation[]

The array of the LegendOrientation enumeration values.