com.aspose.words
Class AxisDisplayUnit

java.lang.Object
    extended by com.aspose.words.AxisDisplayUnit
All Implemented Interfaces:
java.lang.Cloneable

public class AxisDisplayUnit 
extends java.lang.Object

Provides access to the scaling options of the display units for the value axis.

Constructor Summary
AxisDisplayUnit()
          
 
Property Getters/Setters Summary
doublegetCustomUnit()
voidsetCustomUnit(double value)
           Gets or sets a user-defined divisor to scale display units on the value axis.
intgetUnit()
voidsetUnit(int value)
           Gets or sets the scaling value of the display units as one of the predefined values. The value of the property is AxisBuiltInUnit integer constant.
 

Constructor Detail

AxisDisplayUnit

public AxisDisplayUnit()

Property Getters/Setters Detail

getCustomUnit/setCustomUnit

public double getCustomUnit() / public void setCustomUnit(double value)
Gets or sets a user-defined divisor to scale display units on the value axis.

The property is not supported by MS Office 2016 new charts. Default value is 1.

Setting this property sets the Unit property to AxisBuiltInUnit.CUSTOM.


getUnit/setUnit

public int getUnit() / public void setUnit(int value)
Gets or sets the scaling value of the display units as one of the predefined values. The value of the property is AxisBuiltInUnit integer constant. Default value is AxisBuiltInUnit.NONE. The AxisBuiltInUnit.CUSTOM and AxisBuiltInUnit.PERCENTAGE values are not available in some chart types; see AxisBuiltInUnit for more information.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.