ChartDirector 7.0 (Java Edition)

BaseChart.makeChart


Usage

public boolean makeChart(String 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 value indicates no error. A false value indicates the operation is unsuccessful.