ChartDirector 5.1 (.NET Edition)

BaseChart.makeChart


Usage

[VB] Public Function makeChart(filename As String) As Boolean
[C#] public bool makeChart(string filename);

Description

Generates the chart image and save it into a file.

ChartDirector supports PNG, JPG, GIF, WBMP, BMP, SVG and SVGZ. The format used is selected based on file extension, which should be png, jpg, jpeg, gif, wbmp, wmp, bmp, svg or svgz.

Note: To output true vector graphics in SVG or SVGZ format, please ensure BaseChart.enableVectorOutput is called immediately after creating the BaseChart object. Otherwise the output will be a bitmap image embedded in SVG or SVGZ.

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.