PrxChartView.RequestMetadata

Syntax

RequestMetadata: function (sender,args);

Parameters

sender. Event source.

args. Event information.

Description

The RequestMetadata event is fired on requesting chart metadata.

Example

To execute this example, the HTML page must contain the ReportBox component named reportBox (see Example of the ReportBox Component Layout). The regular report sheet must contain a chart.

var prxChart = reportBox.getDataView().getGridView().getTabSheet().getModel().getObjects()[0].getITabObject(); //get regular report chart

prxChart.RequestMetadata.add(function () {

   alert("Request metadata")

});

prxChart.RequestMetadata.fire(this)

 

After executing the example the RequestMetadata event is fired: the Request metadata message appears on the screen.

See also:

PrxChartView