Represents the tick-mark labels associated with tick marks on a chart [[Axis]].
Constructors
Section titled "Constructors"TickLabels
new TickLabels(a: IChartObject): TickLabels Returns TickLabels
Properties
Section titled "Properties"$t: Type Accessors
Section titled "Accessors"alignment
Section titled "alignment"Specifies the alignment of the tick labels
get alignment(): TickLabelAlignment
Returns TickLabelAlignment
chart
Section titled "chart"Inherited from: ChartObject
Returns or sets a [[ChartFillBase]] derived object which defines the fill applied to the background of tick labels.
get fill(): ChartFillBase
Returns ChartFillBase
Specifies which font to use. Read-only. Note: this property will return null until the [[TickLabels]] is set on the Axis.TickLabels property.
get font(): IWorkbookFont
Returns IWorkbookFont
multiLevel
Section titled "multiLevel"Specifies whether an axis is multilevel or not.
get multiLevel(): boolean
Returns boolean
set multiLevel(a: boolean): void Parameters
- a:
boolean
Returns void
numberFormat
Section titled "numberFormat"Returns or sets the format to use for numbers.
get numberFormat(): string
Returns string
set numberFormat(a: string): void Parameters
- a:
string
Returns void
numberFormatLinked
Section titled "numberFormatLinked"True if the number format is linked to the cells (so that the number format changes in the labels when it changes in the cells).
get numberFormatLinked(): boolean
Returns boolean
set numberFormatLinked(a: boolean): void Parameters
- a:
boolean
Returns void
offset
Section titled "offset"Returns or sets a Long value that represents the distance between the levels of labels, and the distance between the first level and the axis line.
get offset(): number
Returns number
set offset(a: number): void Parameters
- a:
number
Returns void
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
readingOrder
Section titled "readingOrder"rotation
Section titled "rotation"Determines the rotation of the text area, expressed in degrees.
get rotation(): number
Returns number
set rotation(a: number): void Parameters
- a:
number
Returns void
sheet
Section titled "sheet"Inherited from: ChartObject
textDirection
Section titled "textDirection"Determines the orientation and direction in which text flows.
get textDirection(): TextDirection
Returns TextDirection
workbook
Section titled "workbook"Inherited from: ChartObject
worksheet
Section titled "worksheet"Inherited from: ChartObject