Class ExcelBarChart
Represents a Bar Chart
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
Assembly: EPPlus.dll
Syntax
public sealed class ExcelBarChart : ExcelChartStandard, IDisposable, IPictureContainer, IDrawingStyle, IDrawingStyleBase, IStyleMandatoryProperties, IPictureRelationDocument, 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 |
---|---|
System.Int32 |
HasDataLabel
If the chart has datalabel
Declaration
public bool HasDataLabel { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overlap
Specifies how much bars and columns shall overlap
Declaration
public int Overlap { get; set; }
Property Value
Type | Description |
---|---|
System.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