Class ExcelChartAxis¶
Namespace: OfficeOpenXml.Drawing.Chart
Assembly: EPPlus.dll
An axis for a chart
Inheritance¶
object ← XmlHelper ← ExcelChartAxis
Derived¶
ExcelChartAxisStandard
ExcelChartExAxis
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Fields¶
_title¶
Chart axis title
Field Value¶
Properties¶
AxisPosition¶
Where the axis is located
Property Value¶
Border¶
Access to border properties
Property Value¶
CrossBetween¶
How the axis are crossed
Property Value¶
Crosses¶
Where the axis crosses
Property Value¶
CrossesAt¶
The value where the axis cross. Null is automatic
Property Value¶
Deleted¶
If the axis is deleted
Property Value¶
DisplayUnit¶
The scaling value of the display units for the value axis
Property Value¶
Effect¶
Effects
Property Value¶
Fill¶
Access to fill properties
Property Value¶
Font¶
Access to font properties
Property Value¶
Format¶
The Numberformat used
Property Value¶
HasMajorGridlines¶
True if the axis has major Gridlines
Property Value¶
HasMinorGridlines¶
True if the axis has minor Gridlines
Property Value¶
LabelPosition¶
The Position of the labels
Property Value¶
LogBase¶
The base for a logaritmic scale Null for a normal scale
Property Value¶
MajorGridlineEffects¶
Effects for major gridlines for the axis
Property Value¶
MajorGridlines¶
Major gridlines for the axis
Property Value¶
MajorTickMark¶
Get or Sets the major tick marks for the axis.
Property Value¶
MajorTimeUnit¶
Major time unit for the axis. Null is automatic
Property Value¶
MajorUnit¶
Major unit for the axis. Null is automatic
Property Value¶
MaxValue¶
Max value for the axis. Null is automatic
Property Value¶
MinValue¶
Minimum value for the axis. Null is automatic
Property Value¶
MinorGridlineEffects¶
Effects for minor gridlines for the axis
Property Value¶
MinorGridlines¶
Minor gridlines for the axis
Property Value¶
MinorTickMark¶
Get or Sets the minor tick marks for the axis.
Property Value¶
MinorTimeUnit¶
Minor time unit for the axis. Null is automatic
Property Value¶
MinorUnit¶
Minor unit for the axis. Null is automatic
Property Value¶
Orientation¶
Axis orientation
Property Value¶
SourceLinked¶
The Numberformats are linked to the source data.
Property Value¶
TextBody¶
Access to text body properties
Property Value¶
TextSettings¶
String settings like fills, text outlines and effects
Property Value¶
ThreeD¶
3D properties
Property Value¶
TickLabelPosition¶
Position of the Lables
Property Value¶
Title¶
Gives access to the charts title properties.
Property Value¶
Methods¶
AddGridlines(bool, bool)¶
Adds gridlines and styles them according to the style selected in the StyleManager
Parameters¶
addMajor bool
Indicates if the Major gridlines should be added
addMinor bool
Indicates if the Minor gridlines should be added
AddTitle(string)¶
Adds the axis title and styles it according to the style selected in the StyleManager
Parameters¶
title string
RemoveGridlines()¶
Removes Major and Minor gridlines from the Axis
RemoveGridlines(bool, bool)¶
Removes gridlines from the Axis
Parameters¶
removeMajor bool
Indicates if the Major gridlines should be removed
removeMinor bool
Indicates if the Minor gridlines should be removed
RemoveTitle()¶
Removes the axis title