ILegend
All Implemented Interfaces: com.aspose.slides.ILayoutable, com.aspose.slides.IFormattedTextContainer
public interface ILegend extends ILayoutable, IFormattedTextContainer
Represents chart’s legend properties.
Methods
Method | Description |
---|---|
getOverlay() | Determines whether other chart elements shall be allowed to overlap legend. |
setOverlay(boolean value) | Determines whether other chart elements shall be allowed to overlap legend. |
getPosition() | Specifies the position of the legend on a chart. |
setPosition(int value) | Specifies the position of the legend on a chart. |
getFormat() | Returns the format of a legend. |
getEntries() | Gets legend entries. |
getOverlay()
public abstract boolean getOverlay()
Determines whether other chart elements shall be allowed to overlap legend. Read/write boolean.
Returns: boolean
setOverlay(boolean value)
public abstract void setOverlay(boolean value)
Determines whether other chart elements shall be allowed to overlap legend. Read/write boolean.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
getPosition()
public abstract int getPosition()
Specifies the position of the legend on a chart. Non-NaN values of X, Y, Width, Heigt properties override effect of this property. Read/write LegendPositionType.
Returns: int
setPosition(int value)
public abstract void setPosition(int value)
Specifies the position of the legend on a chart. Non-NaN values of X, Y, Width, Heigt properties override effect of this property. Read/write LegendPositionType.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getFormat()
public abstract IFormat getFormat()
Returns the format of a legend. Read-only IFormat.
Returns: IFormat
getEntries()
public abstract ILegendEntryCollection getEntries()
Gets legend entries. Read-only ILegendEntryCollection.
Returns: ILegendEntryCollection