TickLabels
Source: aspose.
Represents the tick-mark labels associated with tick marks on a chart axis.
Methods
Methods
getAlignmentType()
Gets and sets the text alignment for the tick labels on the axis. The value of the property is TickLabelAlignmentType integer constant.
getAutoScaleFont()
True if the text in the object changes font size when the object size changes. The default value is True.
getBackgroundMode()
Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant.
getDirectionType()
Gets and sets the direction of text. The value of the property is ChartTextDirectionType integer constant.
getDisplayNumberFormat()
Gets and sets the display number format of tick labels.
getFont()
Returns a Font object that represents the font of the specified TickLabels object.
getNumber()
Represents the format number for the TickLabels object.
getNumberFormat()
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".
getNumberFormatLinked()
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).
getOffset()
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.
getReadingOrder()
Represents text reading order. The value of the property is TextDirectionType integer constant.
getRotationAngle()
Represents text rotation angle in clockwise. 0: Not rotated.255: Top to Bottom.-90: Downward.90: Upward.
getTextDirection()
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.
getTickLabelItems()
Gets the display tick labels of the axis. Only available after calling Chart.calculate() method.
isAutomaticRotation()
Indicates whether the rotation angle is automatic
setAlignmentType()
Gets and sets the text alignment for the tick labels on the axis. The value of the property is TickLabelAlignmentType integer constant.
setAutoScaleFont()
True if the text in the object changes font size when the object size changes. The default value is True.
setAutomaticRotation()
Indicates whether the rotation angle is automatic
setBackgroundMode()
Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant.
setDirectionType()
Gets and sets the direction of text. The value of the property is ChartTextDirectionType integer constant.
setNumber()
Represents the format number for the TickLabels object.
setNumberFormat()
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".
setNumberFormatLinked()
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).
setOffset()
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.
setReadingOrder()
Represents text reading order. The value of the property is TextDirectionType integer constant.
setRotationAngle()
Represents text rotation angle in clockwise. 0: Not rotated.255: Top to Bottom.-90: Downward.90: Upward.
setTextDirection()
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.