Show / Hide Table of Contents

Class ExcelChartDataLabel

Datalabel on chart level. This class is inherited by ExcelChartSerieDataLabel

Inheritance
System.Object
XmlHelper
ExcelChartDataLabel
ExcelChartDataLabelItem
ExcelChartSerieDataLabel
Inherited Members
XmlHelper.AddSchemaNodeOrder(String[], String[])
XmlHelper.AddSchemaNodeOrder(String[], String[], Int32[])
XmlHelper.GetBoolFromString(String)
XmlHelper.CreatespPrNode(String, Boolean)
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
Assembly: EPPlus.dll
Syntax
public class ExcelChartDataLabel : XmlHelper, IDrawingStyle, IDrawingStyleBase

Fields

_chart

Declaration
protected ExcelChart _chart
Field Value
Type Description
ExcelChart

Properties

Border

Access border properties

Declaration
public ExcelDrawingBorder Border { get; }
Property Value
Type Description
ExcelDrawingBorder

Effect

Effects

Declaration
public ExcelDrawingEffectStyle Effect { get; }
Property Value
Type Description
ExcelDrawingEffectStyle

Fill

Access fill properties

Declaration
public ExcelDrawingFill Fill { get; }
Property Value
Type Description
ExcelDrawingFill

Font

Access font properties

Declaration
public ExcelTextFont Font { get; }
Property Value
Type Description
ExcelTextFont

Position

Position of the labels

Declaration
public eLabelPosition Position { get; set; }
Property Value
Type Description
eLabelPosition

Separator

Separator string

Declaration
public string Separator { get; set; }
Property Value
Type Description
System.String

ShowBubbleSize

Show Bubble Size

Declaration
public bool ShowBubbleSize { get; set; }
Property Value
Type Description
System.Boolean

ShowCategory

Show category names

Declaration
public bool ShowCategory { get; set; }
Property Value
Type Description
System.Boolean

ShowLeaderLines

Show the leader lines

Declaration
public bool ShowLeaderLines { get; set; }
Property Value
Type Description
System.Boolean

ShowLegendKey

Show the Lengend Key

Declaration
public bool ShowLegendKey { get; set; }
Property Value
Type Description
System.Boolean

ShowPercent

Show percent values

Declaration
public bool ShowPercent { get; set; }
Property Value
Type Description
System.Boolean

ShowSeriesName

Show series names

Declaration
public bool ShowSeriesName { get; set; }
Property Value
Type Description
System.Boolean

ShowValue

Show the values

Declaration
public bool ShowValue { get; set; }
Property Value
Type Description
System.Boolean

TextBody

Access to text body properties

Declaration
public ExcelTextBody TextBody { get; }
Property Value
Type Description
ExcelTextBody

ThreeD

3D properties

Declaration
public ExcelDrawing3D ThreeD { get; }
Property Value
Type Description
ExcelDrawing3D

Methods

GetPosEnum(String)

Translates the enum position

Declaration
protected eLabelPosition GetPosEnum(string pos)
Parameters
Type Name Description
System.String pos

The string value to translate

Returns
Type Description
eLabelPosition

The enum value

GetPosText(eLabelPosition)

Translates the label position

Declaration
protected string GetPosText(eLabelPosition pos)
Parameters
Type Name Description
eLabelPosition pos

The position enum

Returns
Type Description
System.String

The string

Back to top Generated by DocFX