Class ExcelChart¶
Namespace: OfficeOpenXml.Drawing.Chart
Assembly: EPPlus.dll
Base class for Chart object.
Inheritance¶
object ← XmlHelper ← ExcelDrawing ← ExcelChart
Derived¶
ExcelChartEx
ExcelChartStandard
Implements¶
Inherited Members¶
ExcelDrawing.AdjustPositionAndSize()
ExcelDrawing.As
ExcelDrawing.BringToFront()
ExcelDrawing.CellAnchor
ExcelDrawing.ChangeCellAnchor(eEditAs, int, int, int, int)
ExcelDrawing.ChangeCellAnchor(eEditAs)
ExcelDrawing.Copy(ExcelChartStandard, int, int)
ExcelDrawing.Copy(ExcelWorksheet, int, int, int, int)
ExcelDrawing.Description
ExcelDrawing.Dispose()
ExcelDrawing.DrawingType
ExcelDrawing.EditAs
ExcelDrawing.EMU_PER_CM
ExcelDrawing.EMU_PER_MM
ExcelDrawing.EMU_PER_PICA
ExcelDrawing.EMU_PER_PIXEL
ExcelDrawing.EMU_PER_POINT
ExcelDrawing.EMU_PER_US_INCH
ExcelDrawing.From
ExcelDrawing.Group(params ExcelDrawing[])
ExcelDrawing.Hyperlink
ExcelDrawing.Locked
ExcelDrawing.Name
ExcelDrawing.ParentGroup
ExcelDrawing.Position
ExcelDrawing.Print
ExcelDrawing.SendToBack()
ExcelDrawing.SetPosition(int, int, int, int)
ExcelDrawing.SetPosition(int, int)
ExcelDrawing.SetSize(int, int)
ExcelDrawing.SetSize(int)
ExcelDrawing.Size
ExcelDrawing.To
ExcelDrawing.UnGroup(bool)
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Fields¶
_chartNode¶
The chart element
Field Value¶
XmlNode
_chartXmlHelper¶
The Xml helper for the chart xml
Field Value¶
Properties¶
Axis¶
An array containg all axis of all Charttypes
Property Value¶
BackWall¶
Formatting for the backwall of a 3D chart.
note
This property is null for non 3D charts
Property Value¶
Border¶
Border
Property Value¶
ChartType¶
Type of chart
Property Value¶
ChartXml¶
The chart xml document
Property Value¶
XmlDocument
DisplayBlanksAs¶
Specifies the possible ways to display blanks
Property Value¶
DrawingType¶
The type of drawing
Property Value¶
Effect¶
Effects
Property Value¶
Fill¶
Access to Fill properties
Property Value¶
Floor¶
Formatting for the floor of a 3D chart.
note
This property is null for non 3D charts
Property Value¶
Font¶
Access to font properties
Property Value¶
HasLegend¶
If the chart has a legend
Property Value¶
HasTitle¶
True if the chart has a title
Property Value¶
Legend¶
Legend
Property Value¶
PivotTableSource¶
If the chart is a pivochart this is the pivotable used as source.
Property Value¶
PlotArea¶
Plotarea
Property Value¶
RoundedCorners¶
Border rounded corners
Property Value¶
Series¶
Chart series
Property Value¶
ExcelChartSeries<ExcelChartSerie>
ShowDataLabelsOverMaximum¶
Specifies data labels over the maximum of the chart shall be shown
Property Value¶
ShowHiddenData¶
Show data in hidden rows and columns
Property Value¶
SideWall¶
Formatting for the sidewall of a 3D chart.
note
This property is null for non 3D charts
Property Value¶
Style¶
The build-in chart styles. Use StyleManager for the more modern styling.
Property Value¶
StyleManager¶
Manage style settings for the chart
Property Value¶
TextBody¶
Access to text body properties
Property Value¶
ThreeD¶
3D properties
Property Value¶
Title¶
The titel of the chart
Property Value¶
UseSecondaryAxis¶
If true the charttype will use the secondary axis. The chart must contain a least one other charttype that uses the primary axis.
Property Value¶
VaryColors¶
If the chart has only one serie this varies the colors for each point. This property does not apply to extention charts.
Property Value¶
View3D¶
3D-settings
Property Value¶
WorkSheet¶
Reference to the worksheet
Property Value¶
XAxis¶
The X Axis
Property Value¶
YAxis¶
The Y Axis
Property Value¶
Methods¶
DeleteTitle()¶
Remove the title from the chart
HasThirdAxis()¶
Returns true if the chart is a sureface chart
Returns¶
True if the chart is a sureface chart
IsType3D()¶
Returns true if the chart is a 3D chart
Returns¶
True if the chart is a 3D chart
IsTypeArea()¶
Returns true if the chart is a scatter chart
Returns¶
True if the chart is a scatter chart
IsTypeBubble()¶
Returns true if the chart is a bubble chart
Returns¶
True if the chart is a bubble chart
IsTypeClustered()¶
Returns true if the chart is of type clustered
Returns¶
True if the chart is of type clustered
IsTypeDoughnut()¶
Returns true if the chart is a Doughnut chart
Returns¶
True if the chart is a Doughnut chart
IsTypeLine()¶
Returns true if the chart is a line chart
Returns¶
True if the chart is a line chart
IsTypePercentStacked()¶
Returns true if the chart is of type stacked percentage
Returns¶
True if the chart is of type stacked percentage
IsTypePie()¶
Returns true if the chart is a pie chart
Returns¶
true if the chart is a pie chart
IsTypePieDoughnut()¶
Returns true if the chart is a pie or Doughnut chart
Returns¶
True if the chart is a pie or Doughnut chart
IsTypeRadar()¶
Returns true if the chart is a radar chart
Returns¶
True if the chart is a radar chart
IsTypeScatter()¶
Returns true if the chart is a scatter chart
Returns¶
True if the chart is a scatter chart
IsTypeShape()¶
Returns true if the chart has shapes, like bars and columns
Returns¶
True if the chart has shapes
IsTypeStacked()¶
Returns true if the chart is of type stacked
Returns¶
True if the chart is of type stacked
IsTypeStock()¶
Return true if the chart is a stock chart.
Returns¶
true if the chart is a stock chart.
IsTypeSurface()¶
Returns true if the chart is a sureface chart
Returns¶
True if the chart is a sureface chart