Legend
Legend class
Represents chart’s legend properties.
getBottom
Name | Description |
---|
getBottom() | Bottom. Read-only float. |
Returns:
float
getChart
Name | Description |
---|
getChart() | Returns the chart. Read-only IChart. |
Returns:
Chart
getEntries
Name | Description |
---|
getEntries() | Gets legend entries. Read-only ILegendEntryCollection. |
Returns:
LegendEntryCollection
Name | Description |
---|
getFormat() | Returns the format of a legend. Read-only IFormat. |
Returns:
Format
getHeight
Name | Description |
---|
getHeight() | Returns or sets the height of a legend as a fraction of the height of the chart. Read/write float. |
Returns:
float
getOverlay
Name | Description |
---|
getOverlay() | Determines whether other chart elements shall be allowed to overlap legend. Read/write boolean. |
Returns:
boolean
getPosition
Name | Description |
---|
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
getPresentation
Name | Description |
---|
getPresentation() | Returns the parent presentation of a FillFormat. Read-only IPresentation. |
Returns:
Presentation
getRight
Name | Description |
---|
getRight() | Right. Read-only float. |
Returns:
float
getSlide
Name | Description |
---|
getSlide() | Returns the parent slide of a FillFormat. Read-only BaseSlide. |
Returns:
BaseSlide, LayoutSlide, NotesSlide, MasterSlide, MasterHandoutSlide, Slide, MasterNotesSlide
getTextFormat
Name | Description |
---|
getTextFormat() | Text format. Read-only IChartTextFormat. |
Returns:
ChartTextFormat
getWidth
Name | Description |
---|
getWidth() | Returns or sets the width of a legend as a fraction of the width of the chart. Read/write float. |
Returns:
float
getX
Name | Description |
---|
getX() | Returns or sets the x coordinate of a legend as a fraction of the width of the chart. Read/write float. |
Returns:
float
getY
Name | Description |
---|
getY() | Returns or sets the y coordinate of a legend as a fraction of the height of the chart. Read/write float. |
Returns:
float
setHeight
Name | Description |
---|
setHeight(float) | Returns or sets the height of a legend as a fraction of the height of the chart. Read/write float. |
setOverlay
Name | Description |
---|
setOverlay(boolean) | Determines whether other chart elements shall be allowed to overlap legend. Read/write boolean. |
setPosition
Name | Description |
---|
setPosition(int) | 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. |
setWidth
Name | Description |
---|
setWidth(float) | Returns or sets the width of a legend as a fraction of the width of the chart. Read/write float. |
setX
Name | Description |
---|
setX(float) | Returns or sets the x coordinate of a legend as a fraction of the width of the chart. Read/write float. |
setY
Name | Description |
---|
setY(float) | Returns or sets the y coordinate of a legend as a fraction of the height of the chart. Read/write float. |