ChartDirector 5.1 (PHP Edition)

FinanceChart.addPlotAreaTitle


Usage

addPlotAreaTitle(alignment, text)

Description

Adds a text title above the plot area. You may add multiple title above the plot area by calling this method multiple times.

Arguments

ArgumentDefaultDescription
alignment(Mandatory)The alignment with respect to the region that is on top of the plot area. See Alignment Specification for supported alignment types.
text(Mandatory)The text to add.

Return Value

The TextBox object representing the text box above the plot area, which may be used to fine-tune the appearance of the text.