Class ExcelChartLegend
- Namespace
- OfficeOpenXml.Drawing.Chart
- Assembly
- EPPlus.dll
A chart legend
public class ExcelChartLegend : XmlHelper
- Inheritance
-
ExcelChartLegend
- Derived
- Inherited Members
Properties
Border
The Border style
public ExcelDrawingBorder Border { get; }
Property Value
Effect
Effects on the legend shape. Note that the Text effects are set using the TextSettings property.
public ExcelDrawingEffectStyle Effect { get; }
Property Value
Entries
A list of individual settings for legend entries.
public EPPlusReadOnlyList<ExcelChartLegendEntry> Entries { get; }
Property Value
Fill
The Fill style
public ExcelDrawingFill Fill { get; }
Property Value
Font
The Font properties
public ExcelTextFont Font { get; }
Property Value
Overlay
If the legend overlays other objects
public virtual bool Overlay { get; set; }
Property Value
Position
The position of the Legend
public virtual eLegendPosition Position { get; set; }
Property Value
TextBody
Access to text body properties
public ExcelTextBody TextBody { get; }
Property Value
TextSettings
Text settings like fills, text outlines and effects
public ExcelDrawingTextSettings TextSettings { get; }
Property Value
ThreeD
3D properties
public ExcelDrawing3D ThreeD { get; }
Property Value
Methods
Add()
Adds a legend to the chart
public virtual void Add()
Remove()
Remove the legend
public void Remove()