TickLabels

TickLabels class

Represents the tick-mark labels associated with tick marks on a chart axis.

Properties

NameTypeDescription
FontFontReturns a Font object that represents the font of the specified TickLabels object.
AutoScaleFontbooleanTrue if the text in the object changes font size when the object size changes. The default value is True.
BackgroundModeintGets and sets the display mode of the background The value of the property is BackgroundMode integer constant.
RotationAngleintRepresents text rotation angle in clockwise. 0: Not rotated. 255: Top to Bottom. -90: Downward. 90: Upward.
IsAutomaticRotationbooleanIndicates whether the rotation angle is automatic
NumberFormatStringRepresents the format string for the TickLabels object. The formatting string is same as a custom format string setting
NumberintRepresents the format number for the TickLabels object.
NumberFormatLinkedbooleanTrue if the number format is linked to the cells (so that the number format changes in the labels when it changes in the
DisplayNumberFormatStringGets and sets the display number format of tick labels.
OffsetintGets and sets the distance between the axis labels and the axis line. The default distance is 100 percent, which represe
TextDirectionintRepresents text reading order. The value of the property is TextDirectionType integer constant. NOTE: This member is now
ReadingOrderintRepresents text reading order. The value of the property is TextDirectionType integer constant.
DirectionTypeintGets and sets the direction of text. The value of the property is ChartTextDirectionType integer constant.
TickLabelItemsTickLabelItem[]Gets the display tick labels of the axis. Only available after calling Chart.calculate() method.
AlignmentTypeintGets and sets the text alignment for the tick labels on the axis. The value of the property is TickLabelAlignmentType in

TickLabels.Font property

Returns a Font object that represents the font of the specified TickLabels object.

Type: Font

TickLabels.AutoScaleFont property

True if the text in the object changes font size when the object size changes. The default value is True.

Type: boolean

TickLabels.BackgroundMode property

Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant.

Type: int

TickLabels.RotationAngle property

Represents text rotation angle in clockwise. 0: Not rotated. 255: Top to Bottom. -90: Downward. 90: Upward.

Type: int

TickLabels.IsAutomaticRotation property

Indicates whether the rotation angle is automatic

Type: boolean

TickLabels.NumberFormat property

Represents the format string for the TickLabels object. The formatting string is same as a custom format string setting to a cell. For example, “$0”.

Type: String

TickLabels.Number property

Represents the format number for the TickLabels object.

Type: int

TickLabels.NumberFormatLinked property

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).

Type: boolean

TickLabels.DisplayNumberFormat property

Gets and sets the display number format of tick labels.

Type: String

TickLabels.Offset property

Gets and sets the distance between the axis labels and the axis line. The default distance is 100 percent, which represents the default spacing between the axis labels and the axis line. The value can be an integer percentage from 0 through 1000, relative to the axis label’s font size.

Type: int

TickLabels.TextDirection property

Represents text reading order. The value of the property is TextDirectionType integer constant. NOTE: This member is now obsolete. Instead, please use TickLabels.ReadingOrder property. This property will be removed 12 months later since March 2020. Aspose apologizes for any inconvenience you may have experienced.

Type: int

TickLabels.ReadingOrder property

Represents text reading order. The value of the property is TextDirectionType integer constant.

Type: int

TickLabels.DirectionType property

Gets and sets the direction of text. The value of the property is ChartTextDirectionType integer constant.

Type: int

TickLabels.TickLabelItems property

Gets the display tick labels of the axis. Only available after calling Chart.calculate() method.

Type: TickLabelItem[]

TickLabels.AlignmentType property

Gets and sets the text alignment for the tick labels on the axis. The value of the property is TickLabelAlignmentType integer constant.

Type: int