ChartTitle

ChartTitle class

Represents chart title properties.

addTextFrameForOverriding

NameDescription
addTextFrameForOverriding (String)Initialize TextFrameForOverriding with the text in paramener “text”. If TextFrameForOverriding is already initialized then simply changes its text.

Parameters:

NameTypeDescription
textStringText for a new TextFrameForOverriding.

Returns: TextFrame


getActualHeight

NameDescription
getActualHeight ()Specifies actual height of the chart element. Call method IChart.validateChartLayout() before to get actual values. Read float.

Returns: float


getActualWidth

NameDescription
getActualWidth ()Specifies actual width of the chart element. Call method IChart.validateChartLayout() before to get actual values. Read float.

Returns: float


getActualX

NameDescription
getActualX ()Specifies actual x location (left) of the chart element relative to the left top corner of the chart. Call method IChart.validateChartLayout() before to get actual values. Read float.

Returns: float


getActualY

NameDescription
getActualY ()Specifies actual top of the chart element relative to the left top corner of the chart. Call method IChart.validateChartLayout() before to get actual values. Read float.

Returns: float


getBottom

NameDescription
getBottom ()Bottom. Read-only float.

Returns: float


getChart

NameDescription
getChart ()Returns the parent chart. Read-only IChart.

Returns: Chart


getFormat

NameDescription
getFormat ()Returns the fill, line, effect styles of a title. Read-only IFormat.

Returns: Format


getHeight

NameDescription
getHeight ()Returns or sets the height of a title as a fraction of the height of the chart. Read/write float.

Returns: float


getOverlay

NameDescription
getOverlay ()Determines whether other chart elements shall be allowed to overlap title. Read/write boolean.

Returns: boolean


getPresentation

NameDescription
getPresentation ()Returns the parent presentation of a FillFormat. Read-only IPresentation.

Returns: Presentation


getRight

NameDescription
getRight ()Right. Read-only float.

Returns: float


getSlide

NameDescription
getSlide ()Returns the parent slide of a FillFormat. Read-only BaseSlide.

Returns: MasterHandoutSlide, BaseSlide, LayoutSlide, Slide, MasterSlide, NotesSlide, MasterNotesSlide


getTextFormat

NameDescription
getTextFormat ()Returns text format. Read-only IChartTextFormat.

Returns: ChartTextFormat


getTextFrameForOverriding

NameDescription
getTextFrameForOverriding ()Can contain a rich formatted text. If this property is not null then this formatted text value overrides auto-generated text. Auto-generated text is an implicit property of the data label, the display unit label of the value axis, the axis title, the chart title, the label of the trendline. Auto-generated text is formatted with the IFormattedTextContainer.TextFormat property. Read-only ITextFrame.

Returns: TextFrame


getWidth

NameDescription
getWidth ()Returns or sets the width of a title as a fraction of the width of the chart. Read/write float.

Returns: float


getX

NameDescription
getX ()Returns or sets the x coordinate of a title as a fraction of the width of the chart. Read/write float.

Returns: float


getY

NameDescription
getY ()Returns or sets the y coordinate of a title as a fraction of the height of the chart. Read/write float.

Returns: float


setHeight

NameDescription
setHeight (float)Returns or sets the height of a title as a fraction of the height of the chart. Read/write float.

Returns: void


setOverlay

NameDescription
setOverlay (boolean)Determines whether other chart elements shall be allowed to overlap title. Read/write boolean.

Returns: void


setWidth

NameDescription
setWidth (float)Returns or sets the width of a title as a fraction of the width of the chart. Read/write float.

Returns: void


setX

NameDescription
setX (float)Returns or sets the x coordinate of a title as a fraction of the width of the chart. Read/write float.

Returns: void


setY

NameDescription
setY (float)Returns or sets the y coordinate of a title as a fraction of the height of the chart. Read/write float.

Returns: void