ChartDirector 6.0 (Perl Edition)

WebChartViewer.partialUpdateChart


Usage

partialUpdateChart([ msg [, timeout ]])

Description

Generates the response to a partial chart update request.

This method will encode the information for updating the JsChartViewer into a text string. The text string can then be sent to the browser by using the standard Perl "print" statement.

The response can optionally cause a message to pop up on the chart on the browser side. This is useful for displaying error messages or other information to the user. The pop up message may automatically hide after a certain time. An OK button may also be put on the message to allow the user to dismiss it.

Arguments

ArgumentDefaultDescription
msg""A pop up message to be displayed on the chart. "" means no pop up message will be displayed.
timeout0The delay time in milliseconds, after which the pop up message will automatically hide. If a negative number is used, the delay time is set as the absolute value. In addition, there will be an OK button to allow the user to dismiss the message. Use a very large negative number to show the message until the user press OK. 0 means the pop up message will stay until the chart refreshes.

Return Value

A text string containing the response of a partial chart update request.