ChartDirector 6.0 (Ruby Edition)

WebChartViewer.WebChartViewer


Usage

WebChartViewer.new(request, id)

Description

Creates a new WebChartViewer object.

Arguments

ArgumentDefaultDescription
request(Mandatory)The ActionController::AbstractRequest object representing the current request. 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.