Click or drag to resize
DateAxis Class

Represents an axis used for categories which are dates / times.

This axis type is currently not supported when exporting a chart to PDF, XPS or image file formats. This axis is exported as CategoryAxis.

Inheritance Hierarchy

Namespace: GemBox.Spreadsheet.Charts
Assembly: GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 39.3.30.1198
Syntax
public sealed class DateAxis : ChartAxis

The DateAxis type exposes the following members.

Methods
Properties
  NameDescription
Public propertyAxisType
Gets the axis type for DateAxis which is Date.
(Overrides ChartAxisAxisType.)
Public propertyBaseUnit
Gets or sets the smallest time unit that is represented on the date axis or if value should be automatically calculated based on chart's data.
Public propertyIsVisible
Gets or sets a value indicating whether axis is visible.
(Inherited from ChartAxis.)
Public propertyLabelsPosition
Gets or sets the axis labels position.
(Inherited from ChartAxis.)
Public propertyMajorGridlines
Gets the major gridlines.
(Inherited from ChartAxis.)
Public propertyMajorTickMarkType
Gets or sets the major tick marks position.
(Inherited from ChartAxis.)
Public propertyMajorTimeUnit
Gets or sets the time unit for major tick marks.
Public propertyMajorUnit
Gets or sets the distance between major ticks or if value should be automatically calculated based on chart's data.
Public propertyMaximum
Gets or sets the maximum value of the axis or if value should be automatically calculated based on chart's data.
Public propertyMinimum
Gets or sets the minimum value of the axis or if value should be automatically calculated based on chart's data.
Public propertyMinorGridlines
Gets the minor gridlines.
(Inherited from ChartAxis.)
Public propertyMinorTickMarkType
Gets or sets the minor tick marks position.
(Inherited from ChartAxis.)
Public propertyMinorTimeUnit
Gets or sets the time unit for minor tick marks.
Public propertyMinorUnit
Gets or sets the distance between minor ticks or if value should be automatically calculated based on chart's data.
Public propertyNumberFormat
Gets or sets the number format used for formatting axis value labels. If NumberFormatLinkedToSource is , then number format from chart's source data (cells) will be used to format axis value labels as explained in remarks. Setting this property, sets NumberFormatLinkedToSource to .
(Inherited from ChartAxis.)
Public propertyNumberFormatLinkedToSource
Gets or sets a value indicating whether number format from chart's source data (cells) will be used to format axis value labels.
(Inherited from ChartAxis.)
Public propertyReverseOrder

Gets or sets a value indicating whether values on the axis shall be reversed so they go from maximum to minimum.

This value is currently not supported when exporting a chart to PDF, XPS or image file formats. This value is always exported as .

(Inherited from ChartAxis.)
Public propertyTitle
Gets the axis title.
(Inherited from ChartAxis.)
Top
See Also