Legend
Overview
Legend is a class in Aspose.Slides FOSS for Python.
Inherits from: ILegend.
Represents chart’s legend properties.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
position | LegendPositionType | Read | Specifies the position of the legend on a chart. |
overlay | bool | Read | Determines whether other chart elements shall be allowed to overlap legend. |
format | IFormat | Read | Returns the format of a legend. |
text_format | IChartTextFormat | Read | Text format. |
entries | ILegendEntryCollection | Read | Gets legend entries. |
x | float | Read | X coordinate as a fraction of the chart width. |
y | float | Read | Y coordinate as a fraction of the chart height. |
width | float | Read | Width as a fraction of the chart width. |
height | float | Read | Height as a fraction of the chart height. |
right | float | Read | Right boundary. |
bottom | float | Read | Bottom boundary. |
chart | `` | Read | Returns the parent chart. |