LegendPosition
Overview
LegendPosition is an enum in Aspose.Words FOSS for Java.
Specifies the possible positions for a chart legend.
Edition status of its 11 listed members (a property and its accessor methods are listed separately, overloads once): 11 not yet exercised by a verified example.
This enum declares 4 methods for LegendPosition objects in Java programs.
Available methods include: fromName, getName, getValues, toString.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: values.
Values
| Value | Description |
|---|---|
NONE | No legend will be shown for the chart. |
BOTTOM | Specifies that the legend shall be drawn at the bottom of the chart. |
LEFT | Specifies that the legend shall be drawn at the left of the chart. |
RIGHT | Specifies that the legend shall be drawn at the right of the chart. |
TOP | Specifies that the legend shall be drawn at the top of the chart. |
TOP_RIGHT | Specifies that the legend shall be drawn at the top right of the chart. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of LegendPosition values. |
Methods
| Signature | Description |
|---|---|
getName(legendPosition: int) → String | Returns JAVA_STYLE string representation of integer LegendPosition value. |
toString(legendPosition: int) → String | Returns DotNetStyle string representation of integer LegendPosition value. |
fromName(legendPositionName: String) → int | Returns integer representation by LegendPosition name. |
getValues() → int[] | Returns array of LegendPosition values. |