ChartDirector 7.0 (PHP Edition)

BaseChart.makeChart


Usage

makeChart(filename)

Description

Generates the chart image and save it into a file.

ChartDirector supports PNG, JPG, GIF, WBMP, BMP, SVG, SVGZ and PDF. The format used is selected based on file extension, which should be png, jpg, jpeg, gif, wbmp, wmp, bmp, svg, svgz or pdf.

Arguments

ArgumentDefaultDescription
filename(Mandatory)The name of the file to save the image.

Return Value

A true (non-zero) value indicates no error. A false (zero) value indicates the operation is unsuccessful.