RequestMetadata: function (sender,args);
sender. Event source.
args. Event information.
The RequestMetadata event is fired on requesting chart metadata.
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: