Class ExcelBarChart
Represents a Bar Chart
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: OfficeOpenXml.Drawing.Chart
Assembly: EPPlus.dll
Syntax
public sealed class ExcelBarChart : ExcelChartStandard, IDisposable, IDrawingDataLabel
Properties
DataLabel
Access to datalabel properties
Declaration
public ExcelChartDataLabel DataLabel { get; }
Property Value
| Type | Description |
|---|---|
| ExcelChartDataLabel |
Direction
Direction, Bar or columns
Declaration
public eDirection Direction { get; }
Property Value
| Type | Description |
|---|---|
| eDirection |
GapWidth
The size of the gap between two adjacent bars/columns
Declaration
public int GapWidth { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
HasDataLabel
If the chart has datalabel
Declaration
public bool HasDataLabel { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Overlap
Specifies how much bars and columns shall overlap
Declaration
public int Overlap { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Series
Series for a bar chart
Declaration
public ExcelChartSeries<ExcelBarChartSerie> Series { get; }
Property Value
| Type | Description |
|---|---|
| ExcelChartSeries<ExcelBarChartSerie> |
Shape
The shape of the bar/columns
Declaration
public eShape Shape { get; }
Property Value
| Type | Description |
|---|---|
| eShape |
Implements
System.IDisposable