ChartDirector 5.1 (PHP Edition)

BaseChart.addTable


Usage

addTable(x, y, alignment, col, row)

Description

Adds a CDML table to the chart.

Arguments

ArgumentDefaultDescription
x(Mandatory)The x-coordinate of the reference point used to position the table.
y(Mandatory)The y-coordinate of the reference point used to position the table.
alignment(Mandatory)The alignment of the table with respect to the reference point. For example, a value of TopLeft means the reference point is the top- left corner of the table. See Alignment Specification for supported alignment types..
col(Mandatory)The number of columns in the table.
row(Mandatory)The number of rows in the table.

Return Value

A CDMLTable object representing the CDML table added.