Class ExcelChartPlotArea
A charts plot area
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 class ExcelChartPlotArea : XmlHelper
Properties
Border
Access to border properties
Declaration
public ExcelDrawingBorder Border { get; }
Property Value
Type | Description |
---|---|
Excel |
ChartTypes
If a chart contains multiple chart types (e.g lineChart,BarChart), they end up here.
Declaration
public ExcelChartCollection ChartTypes { get; }
Property Value
Type | Description |
---|---|
Excel |
DataTable
The data table object.
Use the CreateDataTable method to create a datatable if it does not exist.
Create
Declaration
public ExcelChartDataTable DataTable { get; }
Property Value
Type | Description |
---|---|
Excel |
Effect
Effects
Declaration
public ExcelDrawingEffectStyle Effect { get; }
Property Value
Type | Description |
---|---|
Excel |
Fill
Access to fill properties
Declaration
public ExcelDrawingFill Fill { get; }
Property Value
Type | Description |
---|---|
Excel |
ThreeD
3D properties
Declaration
public ExcelDrawing3D ThreeD { get; }
Property Value
Type | Description |
---|---|
Excel |
Methods
CreateDataTable()
Creates a data table in the plotarea
The datatable can also be accessed via the DataTable propery
Data
Declaration
public virtual ExcelChartDataTable CreateDataTable()
Returns
Type | Description |
---|---|
Excel |
RemoveDataTable()
Remove the data table if it's created in the plotarea
Declaration
public virtual void RemoveDataTable()