ChartTitleEx Class
Contains settings for a chart title in charts of the types introduced in Microsoft Excel 2016.
Declaration
public class ChartTitleEx extends ChartTitleOptionsEx
Remarks
A chart title displays custom text (getCustomText()) or text from a chart data reference. If the title has no custom text and no text reference, the chart displays automatic title text.
Axis titles in charts of types introduced in Microsoft Excel 2016 use the ChartTitleOptionsEx class.
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
ChartTitleEx(TextArea textArea)
Initializes a new instance of the ChartTitleEx class with the specified custom text.
Declaration
public ChartTitleEx(TextArea textArea)
Parameters
| Name | Type | Description |
|---|---|---|
| textArea | TextArea | Custom title text. |
Methods
deepClone() Method
Returns a deep copy of this ChartTitleEx instance.
Declaration
public ChartTitleEx deepClone()
Returns
| Type | Description |
|---|---|
ChartTitleEx |
A deep copy of this |
getAllowOverlapChart() Method
Returns whether the title can overlap the plot area.
Declaration
public boolean getAllowOverlapChart()
Returns
| Type | Description |
|---|---|
| boolean |
|
setAllowOverlapChart(boolean value) Method
Sets whether the title can overlap the plot area.
Declaration
public void setAllowOverlapChart(boolean value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | boolean |
|
Remarks
If you create a title and do not call the setAllowOverlapChart(value) method, the API uses false. For a title in a loaded document, the API reads the value from the document.