ChartDirector 7.0 (Python Edition)

BaseChart.makeChart2


Usage

makeChart2(format)

Description

Generates the chart as an image in memory.

The format argument specifies the image format to use, and must be one of the following constants:

ConstantValueDescription
PNG0The PNG format.
GIF1The GIF format.
JPG2The JPEG format.
BMP4The BMP format.
SVG5The SVG format.
SVGZ6The compressed SVG format.
PDF7The PDF format.

Arguments

ArgumentDefaultDescription
format(Mandatory)A constant specifying the image format to use.

Return Value

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