Class ExcelChartDataLabel
- Namespace
- OfficeOpenXml.Drawing.Chart
- Assembly
- EPPlus.dll
Data labels on the chart level. This class is inherited by ExcelChartSerieDataLabel
public abstract class ExcelChartDataLabel : XmlHelper
- Inheritance
-
ExcelChartDataLabel
- Derived
- Inherited Members
Properties
Border
Access border properties
public ExcelDrawingBorder Border { get; }
Property Value
Effect
Effects
public ExcelDrawingEffectStyle Effect { get; }
Property Value
Fill
Access fill properties
public ExcelDrawingFill Fill { get; }
Property Value
Font
Access font properties
public ExcelTextFont Font { get; }
Property Value
Format
The Numberformat string.
public string Format { get; set; }
Property Value
Position
The position of the data labels
public abstract eLabelPosition Position { get; set; }
Property Value
Separator
Separator string
public abstract string Separator { get; set; }
Property Value
ShowBubbleSize
Show Bubble Size
public abstract bool ShowBubbleSize { get; set; }
Property Value
ShowCategory
Show category names
public abstract bool ShowCategory { get; set; }
Property Value
ShowLeaderLines
Show the leader lines
public abstract bool ShowLeaderLines { get; set; }
Property Value
ShowLegendKey
Show the Lengend Key
public abstract bool ShowLegendKey { get; set; }
Property Value
ShowPercent
Show percent values
public abstract bool ShowPercent { get; set; }
Property Value
ShowSeriesName
Show series names
public abstract bool ShowSeriesName { get; set; }
Property Value
ShowValue
Show the values
public abstract bool ShowValue { get; set; }
Property Value
SourceLinked
The Numberformats are linked to the source data.
public bool SourceLinked { 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
GetPosEnum(string)
Translates the enum position
protected eLabelPosition GetPosEnum(string pos)
Parameters
pos
stringThe string value to translate
Returns
- eLabelPosition
The enum value
GetPosText(eLabelPosition)
Translates the label position
protected string GetPosText(eLabelPosition pos)
Parameters
pos
eLabelPositionThe position enum
Returns
- string
The string