Legend
Legend class
Represents chart’s legend properties.
getActualHeight
| Name | Description |
|---|---|
| getActualHeight () | Specifies actual height of the chart element. Call method IChart.validateChartLayout() before to get actual values. Read float. |
Returns: float
getActualWidth
| Name | Description |
|---|---|
| getActualWidth () | Specifies actual width of the chart element. Call method IChart.validateChartLayout() before to get actual values. Read float. |
Returns: float
getActualX
| Name | Description |
|---|---|
| getActualX () | Specifies actual x location (left) of the chart element relative to the left top corner of the chart. Call method IChart.validateChartLayout() before to get actual values. Read float. |
Returns: float
getActualY
| Name | Description |
|---|---|
| getActualY () | Specifies actual top of the chart element relative to the left top corner of the chart. Call method IChart.validateChartLayout() before to get actual values. Read float. |
Returns: float
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
getFormat
| 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, Height 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: MasterHandoutSlide, BaseSlide, LayoutSlide, Slide, MasterSlide, NotesSlide, 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. |
Returns: void
setOverlay
| Name | Description |
|---|---|
| setOverlay (boolean) | Determines whether other chart elements shall be allowed to overlap legend. Read/write boolean. |
Returns: void
setPosition
| Name | Description |
|---|---|
| setPosition (int) | Specifies the position of the legend on a chart. Non-NaN values of X, Y, Width, Height properties override effect of this property. Read/write LegendPositionType. |
Returns: void
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. |
Returns: void
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. |
Returns: void
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. |
Returns: void