Legend

Overview

Legend is a class in Aspose.Slides FOSS for Python. Inherits from: ILegend.

Represents chart’s legend properties.

Properties

NameTypeAccessDescription
positionLegendPositionTypeReadSpecifies the position of the legend on a chart.
overlayboolReadDetermines whether other chart elements shall be allowed to overlap legend.
formatIFormatReadReturns the format of a legend.
text_formatIChartTextFormatReadText format.
entriesILegendEntryCollectionReadGets legend entries.
xfloatReadX coordinate as a fraction of the chart width.
yfloatReadY coordinate as a fraction of the chart height.
widthfloatReadWidth as a fraction of the chart width.
heightfloatReadHeight as a fraction of the chart height.
rightfloatReadRight boundary.
bottomfloatReadBottom boundary.
chart``ReadReturns the parent chart.