ChartDirector 7.0 (Java Edition)

BaseChart.makeChart2


Usage

public byte[] makeChart2(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 byte array containing the binary image of the chart in the requested format.