Class DisplayUnits
java.lang.Object
com.independentsoft.office.charts.DisplayUnits
The Class DisplayUnits.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()doubleGets the custom unit.getLabel()Gets the label.getUnit()Gets the unit.voidsetCustomUnit(double customUnit)Sets the custom unit.voidsetLabel(DisplayUnitsLabel label)Sets the label.voidsetUnit(BuiltInUnit unit)Sets the unit.toString()
-
Constructor Details
-
DisplayUnits
public DisplayUnits()Instantiates a new display units.
-
-
Method Details
-
clone
-
toString
-
getUnit
Gets the unit.- Returns:
- the unit
-
setUnit
Sets the unit.- Parameters:
unit- the new unit
-
getCustomUnit
public double getCustomUnit()Gets the custom unit.- Returns:
- the custom unit
-
setCustomUnit
public void setCustomUnit(double customUnit)Sets the custom unit.- Parameters:
customUnit- the new custom unit
-
getLabel
Gets the label.- Returns:
- the label
-
setLabel
Sets the label.- Parameters:
label- the new label
-