ChartDirector Ver 3.0 (Perl Edition)

BaseChart.makeChart2


Usage

makeChart2(format)

Description

Generate the chart as an image in memory.

This method is most often used to output the chart directly to an HTTP stream.

ChartDirector supports PNG, JPG, alternative GIF, WBMP and BMP formats, denoted by the following pre-defined constants:

ConstantValueDescription
PNG0The PNG format.
GIF1The alterantive GIF format.
JPG2The JPEG format.
WMP3The WAP bitmap format.
BMP4The BMP format.

Arguments

ArgumentDefaultDescription
format(Mandatory)A constant representing the format of the image.

Return Value

A string containing the binary image of the chart in the requested format.