Represents a single axis in a chart.
Constructors
Section titled "Constructors"Axis
new Axis(a: IChartObject, b: AxisType, c: AxisGroup): Axis Returns Axis
Properties
Section titled "Properties"$t: Type axisBetweenCategories
Section titled "axisBetweenCategories"axisBetweenCategories: boolean axisTitle
Section titled "axisTitle"axisTitle: ChartTitle baseUnit
Section titled "baseUnit"baseUnit: TimeUnit baseUnitIsAuto
Section titled "baseUnitIsAuto"baseUnitIsAuto: boolean categoryType
Section titled "categoryType"categoryType: CategoryType crosses
Section titled "crosses"crosses: AxisCrosses crossesAt
Section titled "crossesAt"crossesAt: number displayUnit
Section titled "displayUnit"displayUnit: DisplayUnit displayUnitCustom
Section titled "displayUnitCustom"displayUnitCustom: number displayUnitLabel
Section titled "displayUnitLabel"displayUnitLabel: DisplayUnitLabel gapWidth
Section titled "gapWidth"gapWidth: number logBase
Section titled "logBase"logBase: number majorGridLines
Section titled "majorGridLines"majorGridLines: ChartGridLines majorTickMark
Section titled "majorTickMark"majorTickMark: TickMark majorUnit
Section titled "majorUnit"majorUnit: number majorUnitIsAuto
Section titled "majorUnitIsAuto"majorUnitIsAuto: boolean majorUnitScale
Section titled "majorUnitScale"majorUnitScale: TimeUnit maximumScale
Section titled "maximumScale"maximumScale: number maximumScaleIsAuto
Section titled "maximumScaleIsAuto"maximumScaleIsAuto: boolean minimumScale
Section titled "minimumScale"minimumScale: number minimumScaleIsAuto
Section titled "minimumScaleIsAuto"minimumScaleIsAuto: boolean minorGridLines
Section titled "minorGridLines"minorGridLines: ChartGridLines minorTickMark
Section titled "minorTickMark"minorTickMark: TickMark minorUnit
Section titled "minorUnit"minorUnit: number minorUnitIsAuto
Section titled "minorUnitIsAuto"minorUnitIsAuto: boolean minorUnitScale
Section titled "minorUnitScale"minorUnitScale: TimeUnit position
Section titled "position"position: AxisPosition reversePlotOrder
Section titled "reversePlotOrder"reversePlotOrder: boolean scaleType
Section titled "scaleType"scaleType: ScaleType tickLabelPosition
Section titled "tickLabelPosition"tickLabelPosition: TickLabelPosition tickLabelSpacing
Section titled "tickLabelSpacing"tickLabelSpacing: number tickLabelSpacingIsAuto
Section titled "tickLabelSpacingIsAuto"tickLabelSpacingIsAuto: boolean tickLines
Section titled "tickLines"tickLines: ChartTickLines tickMarkSpacing
Section titled "tickMarkSpacing"tickMarkSpacing: number visible
Section titled "visible"visible: boolean Accessors
Section titled "Accessors"axisGroup
Section titled "axisGroup"chart
Section titled "chart"Inherited from: ChartObject
owner
Section titled "owner"Inherited from: ChartObject
returns this object's owner. (read-only) The owner or null if this object is owned directly by the Chart
get owner(): ChartObject Returns ChartObject
sheet
Section titled "sheet"Inherited from: ChartObject
tickLabels
Section titled "tickLabels"Returns a TickLabels object that represents the tick-mark labels for the specified axis. Read-only.
get tickLabels(): TickLabels Returns TickLabels
workbook
Section titled "workbook"Inherited from: ChartObject
worksheet
Section titled "worksheet"Inherited from: ChartObject
Methods
Section titled "Methods"setMajorMinorUnit
Section titled "setMajorMinorUnit"Sets the values of the [[majorUnit]] and [[minorUnit]] properties.
setMajorMinorUnit(majorUnit: number, minorUnit: number): void Parameters
- majorUnit:
numberThe new value for the [[majorUnit]] property.
- minorUnit:
numberThe new value for the [[minorUnit]] property.