public class TickLabels
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
int |
getAlignmentType()
Gets the text alignment for the tick labels on the axis.
|
boolean |
getAutoScaleFont()
True if the text in the object changes font size when the object size changes.
|
int |
getBackgroundMode()
Gets the display mode of the background
|
int |
getDirectionType()
Gets the direction of text.
|
java.lang.String |
getDisplayNumberFormat()
Gets the display number format of tick labels.
|
Font |
getFont()
Returns a
ChartArea.getFont() object that represents the font of the specified TickLabels object. |
int |
getNumber()
Represents the format number for the TickLabels object.
|
java.lang.String |
getNumberFormat()
Represents the format string for the TickLabels object.
|
boolean |
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).
|
int |
getOffset()
Gets the distance of labels from the category axis.
|
int |
getReadingOrder()
Represents text reading order.
|
int |
getRotationAngle()
Represents text rotation angle in clockwise.
|
int |
getTextDirection()
Deprecated.
Use TickLabels.ReadingOrder property instead.
|
TickLabelItem[] |
getTickLabelItems()
Gets the display tick labels of the axis.
|
boolean |
isAutomaticRotation()
Indicates whether the rotation angle is automatic
|
void |
setAlignmentType(int value)
Sets the text alignment for the tick labels on the axis.
|
void |
setAutomaticRotation(boolean value)
Indicates whether the rotation angle is automatic
|
void |
setAutoScaleFont(boolean value)
True if the text in the object changes font size when the object size changes.
|
void |
setBackgroundMode(int value)
Sets the display mode of the background
|
void |
setDirectionType(int value)
Sets the direction of text.
|
void |
setNumber(int value)
Represents the format number for the TickLabels object.
|
void |
setNumberFormat(java.lang.String value)
Represents the format string for the TickLabels object.
|
void |
setNumberFormatLinked(boolean value)
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).
|
void |
setOffset(int value)
Sets the distance of labels from the category axis.
|
void |
setReadingOrder(int value)
Represents text reading order.
|
void |
setRotationAngle(int value)
Represents text rotation angle in clockwise.
|
void |
setTextDirection(int value)
Deprecated.
Use TickLabels.ReadingOrder property instead.
|
public Font getFont()
ChartArea.getFont() object that represents the font of the specified TickLabels object.public boolean getAutoScaleFont()
public void setAutoScaleFont(boolean value)
public int getBackgroundMode()
See BackgroundMode.
public void setBackgroundMode(int value)
See BackgroundMode.
public int getRotationAngle()
Remarks
public void setRotationAngle(int value)
Remarks
public boolean isAutomaticRotation()
public void setAutomaticRotation(boolean value)
public java.lang.String getNumberFormat()
Remarks
The formatting string is same as a custom format string setting to a cell. For example, "$0".public void setNumberFormat(java.lang.String value)
Remarks
The formatting string is same as a custom format string setting to a cell. For example, "$0".public int getNumber()
public void setNumber(int value)
public boolean getNumberFormatLinked()
public void setNumberFormatLinked(boolean value)
public java.lang.String getDisplayNumberFormat()
public int getOffset()
Remarks
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.public void setOffset(int value)
Remarks
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.public int getTextDirection()
See TextDirectionType.
Remarks
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.public void setTextDirection(int value)
See TextDirectionType.
Remarks
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.public int getReadingOrder()
See TextDirectionType.
public void setReadingOrder(int value)
See TextDirectionType.
public int getDirectionType()
public void setDirectionType(int value)
public TickLabelItem[] getTickLabelItems()
Remarks
Only available after callingChart.calculate() method.public int getAlignmentType()
public void setAlignmentType(int value)
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.