ChartDirector 7.1 (C++ Edition)

BaseChart.makeChart2


Usage

MemBlock makeChart(int 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 memory block containing the binary image of the chart in the requested format.