ChartDirector 7.0 (Java Edition)

WebChartViewer.renderHTML


Usage

public String renderHTML(HttpServletResponse response [, String extraAttrs ])

Description

Generates the HTML tags necessary to represent the chart, image map, and the JsChartViewer state.

The generated tags may include an <IMG> tag, image map tags, and hidden fields. Additional attributes may be included in the <IMG> by using the extraAttrs argument. Any text in extraAttrs will be inserted into the <IMG> tag as is.

Arguments

ArgumentDefaultDescription
response(Mandatory)An HttpServletResponse object used to encode the output.
extraAttrs""Extra attributes to be included in the <IMG> tag.

Return Value

A text string containing the HTML tags necessary to represent the chart, image map, and the JsChartViewer state