ChartDirector Ver 4.1 (C++ Edition)

BaseChart.makeChart2


Usage

MemBlock makeChart(int format);

Description

Generates 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, GIF, WBMP and BMP formats, denoted by the following predefined constants:

Constant Value Description
PNG 0 The PNG format.
GIF 1 The GIF format.
JPG 2 The JPEG format.
WMP 3 The WAP bitmap format.
BMP 4 The BMP format.
SEO India | Search Engine Optimization Company India

Arguments

Argument Default Description
format (Mandatory) A constant representing the format of the image.

Return Value

A memory block containing the binary image of the chart in the requested format.