ChartLegend

Overview

ChartLegend is a class in Aspose.Words FOSS for .NET. Inherits from: IDmlExtensionListSource, IChartFormatSource.

Represents chart legend properties.

Properties: Font, Format, LegendEntries, Overlay, Position.

Properties

NameTypeAccessDescription
LegendEntriesChartLegendEntryCollectionReadReturns a collection of legend entries for all series and trendlines of the parent chart.
PositionLegendPositionRead/WriteSpecifies the position of the legend on a chart.
FontFontReadProvides access to the default font formatting of legend entries.
FormatChartFormatReadProvides access to fill and line formatting of the legend.
OverlayboolRead/WriteDetermines whether other chart elements shall be allowed to overlap legend.

See Also