ChartDirector 5.1 (Java Edition)

WebChartViewer.streamChart


Usage

public static boolean streamChart(HttpServletResponse response, byte[] image)

Description

Sends the image out as a MIME stream of image type.

Arguments

ArgumentDefaultDescription
response(Mandatory)An HttpServletResponse object used to encode the output.
image(Mandatory)The in-memory image.

Return Value

This method always return true.