Interface IExcelChart
Namespace: OfficeOpenXml.Drawing.Chart
Assembly: EPPlus.dll
Syntax
public interface IExcelChart
Properties
Axis
An array containg all axis of all Charttypes
Declaration
ExcelChartAxis[] Axis { get; }
Property Value
Type | Description |
---|---|
Excel |
Border
Border
Declaration
ExcelDrawingBorder Border { get; }
Property Value
Type | Description |
---|---|
Excel |
ChartType
Type of chart
Declaration
eChartType ChartType { get; }
Property Value
Type | Description |
---|---|
e |
ChartXml
The chart xml document
Declaration
XmlDocument ChartXml { get; }
Property Value
Type | Description |
---|---|
System. |
DisplayBlanksAs
Specifies the possible ways to display blanks
Declaration
eDisplayBlanksAs DisplayBlanksAs { get; set; }
Property Value
Type | Description |
---|---|
e |
Font
Access to font properties
Declaration
ExcelTextFont Font { get; }
Property Value
Type | Description |
---|---|
Excel |
Grouping
Specifies the kind of grouping for a column, line, or area chart
Declaration
eGrouping Grouping { get; }
Property Value
Type | Description |
---|---|
e |
HasLegend
If the chart has a legend
Declaration
bool HasLegend { get; }
Property Value
Type | Description |
---|---|
System. |
HasTitle
True if the chart has a title
Declaration
bool HasTitle { get; }
Property Value
Type | Description |
---|---|
System. |
Legend
Legend
Declaration
ExcelChartLegend Legend { get; }
Property Value
Type | Description |
---|---|
Excel |
PivotTableSource
If the chart is a pivochart this is the pivotable used as source.
Declaration
ExcelPivotTable PivotTableSource { get; }
Property Value
Type | Description |
---|---|
Excel |
PlotArea
Plotarea
Declaration
ExcelChartPlotArea PlotArea { get; }
Property Value
Type | Description |
---|---|
Excel |
RoundedCorners
Border rounded corners
Declaration
bool RoundedCorners { get; set; }
Property Value
Type | Description |
---|---|
System. |
Series
Chart series
Declaration
ExcelChartSeries<ExcelChartSerie> Series { get; }
Property Value
Type | Description |
---|---|
Excel |
ShowDataLabelsOverMaximum
Specifies data labels over the maximum of the chart shall be shown
Declaration
bool ShowDataLabelsOverMaximum { get; set; }
Property Value
Type | Description |
---|---|
System. |
ShowHiddenData
Show data in hidden rows and columns
Declaration
bool ShowHiddenData { get; set; }
Property Value
Type | Description |
---|---|
System. |
Style
The build-in chart styles.
Declaration
eChartStyle Style { get; }
Property Value
Type | Description |
---|---|
e |
StyleManager
Manage style settings for the chart
Declaration
ExcelChartStyleManager StyleManager { get; }
Property Value
Type | Description |
---|---|
Excel |
TextBody
Access to text body properties
Declaration
ExcelTextBody TextBody { get; }
Property Value
Type | Description |
---|---|
Excel |
ThreeD
3D properties
Declaration
ExcelDrawing3D ThreeD { get; }
Property Value
Type | Description |
---|---|
Excel |
Title
Titel of the chart
Declaration
ExcelChartTitle Title { get; }
Property Value
Type | Description |
---|---|
Excel |
UseSecondaryAxis
If true the charttype will use the secondary axis. The chart must contain a least one other charttype that uses the primary axis.
Declaration
bool UseSecondaryAxis { get; }
Property Value
Type | Description |
---|---|
System. |
VaryColors
If the chart has only one serie this varies the colors for each point.
Declaration
bool VaryColors { get; }
Property Value
Type | Description |
---|---|
System. |
View3D
3D-settings
Declaration
ExcelView3D View3D { get; }
Property Value
Type | Description |
---|---|
Excel |
WorkSheet
Reference to the worksheet
Declaration
ExcelWorksheet WorkSheet { get; }
Property Value
Type | Description |
---|---|
Excel |
XAxis
The X Axis
Declaration
ExcelChartAxis XAxis { get; }
Property Value
Type | Description |
---|---|
Excel |
YAxis
The Y Axis
Declaration
ExcelChartAxis YAxis { get; }
Property Value
Type | Description |
---|---|
Excel |
Methods
DeleteTitle()
Remove the title from the chart
Declaration
void DeleteTitle()