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
| Name | Type | Access | Description |
|---|---|---|---|
LegendEntries | ChartLegendEntryCollection | Read | Returns a collection of legend entries for all series and trendlines of the parent chart. |
Position | LegendPosition | Read/Write | Specifies the position of the legend on a chart. |
Font | Font | Read | Provides access to the default font formatting of legend entries. |
Format | ChartFormat | Read | Provides access to fill and line formatting of the legend. |
Overlay | bool | Read/Write | Determines whether other chart elements shall be allowed to overlap legend. |