ChartDirector 5.1 (PHP Edition)

DrawArea.setSize


Usage

setSize(width, height [, bgColor ])

Description

Sets the size and background color of the drawing surface.

Arguments

ArgumentDefaultDescription
width(Mandatory)The width of the drawing surface in pixels.
height(Mandatory)The height of the drawing surface in pixels.
bgColorFFFFFFThe background color of the drawing surface.

Return Value

None