public class AxisDisplayUnit
extends java.lang.Object
implements java.lang.Cloneable
To learn more, visit the Working with Charts documentation article.
| Modifier and Type | Method and Description |
|---|---|
double |
getCustomUnit()
Gets a user-defined divisor to scale display units on the value axis.
|
DocumentBase |
getDocument()
Returns the Document the title holder belongs.
|
ChartTitle |
getTitle() |
boolean |
getTitleDeleted() |
int |
getTitlePosition() |
int |
getUnit()
Gets the scaling value of the display units as one of the predefined values.
|
boolean |
isVisible() |
protected java.lang.Object |
memberwiseClone() |
void |
setCustomUnit(double value)
Sets a user-defined divisor to scale display units on the value axis.
|
void |
setTitle(ChartTitle value) |
void |
setTitleDeleted(boolean value) |
void |
setUnit(int value)
Sets the scaling value of the display units as one of the predefined values.
|
public int getUnit()
AxisBuiltInUnit.NONE. The AxisBuiltInUnit.CUSTOM and AxisBuiltInUnit.PERCENTAGE values are not available in some chart types; see AxisBuiltInUnit for more information.AxisBuiltInUnit constants.public void setUnit(int value)
AxisBuiltInUnit.NONE. The AxisBuiltInUnit.CUSTOM and AxisBuiltInUnit.PERCENTAGE values are not available in some chart types; see AxisBuiltInUnit for more information.value - The scaling value of the display units as one of the predefined values. The value must be one of AxisBuiltInUnit constants.public double getCustomUnit()
The property is not supported by MS Office 2016 new charts. Default value is 1.
Setting this property sets the getUnit() / setUnit(int) property to AxisBuiltInUnit.CUSTOM.
public void setCustomUnit(double value)
The property is not supported by MS Office 2016 new charts. Default value is 1.
Setting this property sets the getUnit() / setUnit(int) property to AxisBuiltInUnit.CUSTOM.
value - A user-defined divisor to scale display units on the value axis.public ChartTitle getTitle()
public void setTitle(ChartTitle value)
public int getTitlePosition()
public DocumentBase getDocument()
public boolean getTitleDeleted()
public void setTitleDeleted(boolean value)
public boolean isVisible()
protected java.lang.Object memberwiseClone()