ChartDirector 6.0 (ColdFusion Edition)

WebChartViewer.WebChartViewer


Usage

WebChartViewer(pageContext, id)

Description

Creates a new WebChartViewer object.

Note: In the ColdFusion edition of ChartDirector, the WebChartViewer constructor is implemented as a method of the ChartDirector.CFChart object called ChartDirector.CFChart.WebChartViewer.

Arguments

ArgumentDefaultDescription
pageContext(Mandatory)The PageContext object representing the current web page. This is typically obtained by using the ColdFusion "GetPageContext" function.
id(Mandatory)The id of the WebChartViewer, which is also used as the id attribute of the <IMG> tag for displaying the chart. It should start with A-Z, a-z or underscore, and consists entirely of alphanumeric characters with no spaces

Return Value

The WebChartViewer object created.