ChartDirector 7.0 (PHP Edition)

WebChartViewer.streamChart


Usage

streamChart(imageData [, filename ])

Description

Sends the chart image out as a MIME stream.

The optional filename argument is the suggested filename in case it is needed on the browser side. For example, if the user saves the image to the hard disk, the browser will usually derive a filename based from the URL. For dynamically generated images, the URL is a script, and using it as the image filename may not be meaningful. In this case, the filename can be used to specify the filename to use.

Arguments

ArgumentDefaultDescription
imageData(Mandatory)A string containing the binary image. This is can be generated by BaseChart.makeChart2 or MultiPagePDF.outPDF2.
filename""The suggested filename in case it is needed by the browser.

Return Value

None