public interface ILegend extends ILayoutable, IFormattedTextContainer
Represents chart's legend properties.
Modifier and Type | Method and Description |
---|---|
ILegendEntryCollection |
getEntries()
Gets legend entries.
|
IFormat |
getFormat()
Returns the format of a legend.
|
boolean |
getOverlay()
Determines whether other chart elements shall be allowed to overlap legend.
|
int |
getPosition()
Specifies the position of the legend on a chart.
|
void |
setOverlay(boolean value)
Determines whether other chart elements shall be allowed to overlap legend.
|
void |
setPosition(int value)
Specifies the position of the legend on a chart.
|
getBottom, getHeight, getRight, getWidth, getX, getY, setHeight, setWidth, setX, setY
getTextFormat
getChart
getSlide
getPresentation
boolean getOverlay()
Determines whether other chart elements shall be allowed to overlap legend.
Read/write boolean
.
void setOverlay(boolean value)
Determines whether other chart elements shall be allowed to overlap legend.
Read/write boolean
.
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
.
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
.
ILegendEntryCollection getEntries()
Gets legend entries.
Read-only ILegendEntryCollection
.