DisplayUnitOptionsEx Class
Contains display unit settings of an axis in a chart of a type introduced in Microsoft Excel 2016.
Declaration
public class DisplayUnitOptionsEx extends DisplayUnitOptionsBase
Remarks
Call the AxisEx.getDisplayUnit() method to access display unit settings of an axis. Call the DisplayUnitOptionsEx.setUnitType(value) method to specify the display unit.
The secondary value axis of a Pareto chart uses the DisplayUnitType.PERCENTAGE display unit.
Refer to the following help topic for additional information: Create Waterfall, Funnel, Treemap, and Other Office 2016 Charts — Presentation API for Java.
Inherited Members
Inheritance
DisplayUnitOptionsEx()
Initializes a new instance of the DisplayUnitOptionsEx class.
Declaration
public DisplayUnitOptionsEx()
Methods
deepClone() Method
Returns a deep copy of this DisplayUnitOptionsEx instance.
Declaration
public DisplayUnitOptionsEx deepClone()
Returns
| Type | Description |
|---|---|
DisplayUnitOptionsEx |
A deep copy of this |
getCustomLabelContent() Method
Returns custom text of the display unit label.
Declaration
public TextArea getCustomLabelContent()
Returns
| Type | Description |
|---|---|
| TextArea | Custom text of the display unit label. |
setCustomLabelContent(TextArea value) Method
Sets custom text of the display unit label.
Declaration
public void setCustomLabelContent(TextArea value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | TextArea | Custom text of the display unit label. |
Remarks
If you pass a text area, the API clears the display unit label’s chart data reference.