LegendPosition

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

ValueDescription
NONENo legend will be shown for the chart.
BOTTOMSpecifies that the legend shall be drawn at the bottom of the chart.
LEFTSpecifies that the legend shall be drawn at the left of the chart.
RIGHTSpecifies that the legend shall be drawn at the right of the chart.
TOPSpecifies that the legend shall be drawn at the top of the chart.
TOP_RIGHTSpecifies that the legend shall be drawn at the top right of the chart.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of LegendPosition values.

Methods

SignatureDescription
getName(legendPosition: int) → StringReturns JAVA_STYLE string representation of integer LegendPosition value.
toString(legendPosition: int) → StringReturns DotNetStyle string representation of integer LegendPosition value.
fromName(legendPositionName: String) → intReturns integer representation by LegendPosition name.
getValues() → int[]Returns array of LegendPosition values.

See Also