Skip to main content

ChartTitleOptionsBase Class

The base class for chart and axis title settings.

Declaration

public abstract class ChartTitleOptionsBase extends OfficeObject

Remarks

ChartTitleOptions and ChartTitleOptionsEx classes derive from the ChartTitleOptionsBase class. ChartTitleOptions and the derived ChartTitle class contain axis title and chart title settings in standard charts. ChartTitleOptionsEx and the derived ChartTitleEx class contain axis title and chart title settings in charts of types introduced in Microsoft Excel 2016 (for example, waterfall, histogram, or Pareto charts).

A title displays custom text or text from a chart data reference. If a title has no custom text and no text reference, the chart displays automatic title text.

Inherited Members

com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.initFields()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
JavaObject
OfficeObject
ChartTitleOptionsBase
See Also

Methods

deepClone() Method

Returns a deep copy of this ChartTitleOptionsBase instance.

Declaration

public ChartTitleOptionsBase deepClone()

Returns

Type Description
ChartTitleOptionsBase

A deep copy of this ChartTitleOptionsBase.

getCustomText() Method

Returns custom title text.

Declaration

public TextArea getCustomText()

Returns

Type Description
TextArea

Custom title text, or null if the title has no custom text.

getFill() Method

Returns fill settings of the title background.

Declaration

public Fill getFill()

Returns

Type Description
Fill

Fill settings of the title background.

getOutlineStyle() Method

Returns outline settings of the title.

Declaration

public OutlineStyle getOutlineStyle()

Returns

Type Description
OutlineStyle

Outline settings of the title.

setCustomText(TextArea value) Method

Sets custom title text.

Declaration

public void setCustomText(TextArea value)

Parameters

Name Type Description
value TextArea

Custom title text.

Remarks

A TextArea object contains title text and text formatting settings.

If you pass a text area, the API clears the title’s chart data reference. For standard charts, the ChartTitleOptions.getTextReference() method returns this reference.

setFill(Fill value) Method

Sets fill settings of the title background.

Declaration

public void setFill(Fill value)

Parameters

Name Type Description
value Fill

Fill settings of the title background.

setOutlineStyle(OutlineStyle value) Method

Sets outline settings of the title.

Declaration

public void setOutlineStyle(OutlineStyle value)

Parameters

Name Type Description
value OutlineStyle

Outline settings of the title.