Paper Office
paper-pptxAPI referencechart.chart

ChartTitle

paper-pptx 0.2.0 API reference

Provides properties for manipulating a chart title.

ChartTitle(title)

Attributes

element

attributeelement

The lxml element proxied by this object.

format

attributeformat

ChartFormat object providing access to line and fill formatting.

Return the ChartFormat object providing shape formatting properties for this chart title, such as its line color and fill.

has_text_frame

attributehas_text_frame

Read/write Boolean specifying whether this title has a text frame.

Return True if this chart title has a text frame, and False otherwise. Assigning True causes a text frame to be added if not already present. Assigning False causes any existing text frame to be removed along with its text and formatting.

text_frame

attributetext_frame

TextFrame instance for this chart title.

Return a TextFrame instance allowing read/write access to the text of this chart title and its text formatting properties. Accessing this property is destructive in the sense it adds a text frame if one is not present. Use :attr:has_text_frame to test for the presence of a text frame non-destructively.

On this page