com.aspose.words

Class AxisDisplayUnit

  • java.lang.Object
    • 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
 
Property Getters/Setters Summary
doublegetCustomUnit()
void
setCustomUnit(doublevalue)
           Gets or sets a user-defined divisor to scale display units on the value axis.
intgetUnit()
void
setUnit(intvalue)
           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.