ChartDirector 7.0 (Java Edition)

WebViewPortControl.renderHTML


Usage

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

Description

Generates the HTML tags to represent the JsViewPortControl.

The generated tags may include an <IMG> tag 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.