ChartTitleOptionsEx Class
Contains settings for an axis title in a chart of a type introduced in Microsoft Excel 2016.
Declaration
public class ChartTitleOptionsEx extends ChartTitleOptionsBase
Remarks
Call the AxisEx.getTitle() method to access the title settings of an axis. To add a title to an axis, pass a ChartTitleOptionsEx object to the AxisEx.setTitle(value) method. To remove the axis title, call the AxisEx.setTitle(null) method.
The ChartTitleEx class derives from the ChartTitleOptionsEx class and contains settings of a chart title.
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
Constructors
ChartTitleOptionsEx(String text) Constructor
Initializes a new instance of the ChartTitleOptionsEx class with the specified title text.
Declaration
public ChartTitleOptionsEx(String text)
Parameters
| Name | Type | Description |
|---|---|---|
| text | String | The title text. |
ChartTitleOptionsEx(TextArea textArea) Constructor
Initializes a new instance of the ChartTitleOptionsEx class with the specified custom text.
Declaration
public ChartTitleOptionsEx(TextArea textArea)
Parameters
| Name | Type | Description |
|---|---|---|
| textArea | TextArea | Custom title text. |
Methods
deepClone() Method
Returns a deep copy of this ChartTitleOptionsEx instance.
Declaration
public ChartTitleOptionsEx deepClone()
Returns
| Type | Description |
|---|---|
ChartTitleOptionsEx |
A deep copy of this |