Class ExcelChartExLegend
A legend for an Extended chart
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml.Drawing.Chart.ChartEx
Assembly: EPPlus.dll
Syntax
public class ExcelChartExLegend : ExcelChartLegend, IDrawingStyle, IDrawingStyleBase, IStyleMandatoryProperties
Properties
Position
The position of the Legend.
Declaration
public override eLegendPosition Position { get; set; }
Property Value
Type | Description |
---|---|
eLegendPosition |
Overrides
Remarks
Setting the Position to TopRight will set the Position to Right and the PositionAlignment to Min
PositionAlignment
The side position alignment of the legend
Declaration
public ePositionAlign PositionAlignment { get; set; }
Property Value
Type | Description |
---|---|
ePositionAlign |
Methods
Add()
Adds a legend to the chart
Declaration
public override void Add()