ChartDirector 5.1 (PHP Edition)

JsChartViewer.UpdateError


Description

This event occurs if an error occurs in during a partial update.

Use JsChartViewer.attachHandler with the event id "UpdateError" to attach a handler to this event.

In the event handler, one may use "this.errCode" and "this.errMsg" (without quotes) to retrieve the error code and error message.

If no event handler is attached to this event, or all attached event handler returns false, then default error handling will be used, which is to display the error message on the chart using the JsChartViewer.serverErrorMsg template.