ChartDirector 6.0 (Perl Edition)

WebChartViewer.WebChartViewer


Usage

WebChartViewer(query, id)

Description

Creates a new WebChartViewer object.

Arguments

ArgumentDefaultDescription
query(Mandatory)A standard Perl CGI object representing the current query. It should be created with code similar to:

    use CGI;
    my $query = new CGI;


This object is used to analyze the HTTP request to see if it is a partial update request and initialize the properties of the WebChartViewer properly.
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.