Class ExcelChartExSerieDataLabel
Datalabel properties
Inheritance
System.Object
ExcelChartExSerieDataLabel
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 ExcelChartExSerieDataLabel : ExcelChartExDataLabel, IDrawingStyle, IDrawingStyleBase
Properties
DataLabels
Individually formatted data labels.
Declaration
public ExcelChartExDataLabelCollection DataLabels { get; }
Property Value
Type | Description |
---|---|
ExcelChartExDataLabelCollection |
Methods
Add(Boolean, Boolean, Boolean)
Adds data labels to the series.
Declaration
public void Add(bool showCategory = true, bool showValue = false, bool showSeriesName = false)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | showCategory | Show the category name |
System.Boolean | showValue | Show values |
System.Boolean | showSeriesName | Show series name |
Remove()
Removes data labels from the series
Declaration
public void Remove()