Refreshed: function (sender, args);
sender. Event source.
args. Event information.
The Refreshed event occurs after drawing express report bubble chart.
Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component) and have a loaded bubble chart in the data area. Handle the Refreshed event showing value of the View Mode flag for express report to the browser console:
// Get express report bubble chart wizard var master = expressBox.getPropertyBarView().getBubbleChartMaster(); // Get express report bubble chart view var bubbleChartView = master.getDataView(); // Handle the Rendered event bubbleChartView.Refreshed.add(function () { var isViewMode = bubbleChartView.getViewMode(); if (isViewMode) { console.log("Express report is in the view mode."); } else { console.log("Express report is in the edit mode."); } }); bubbleChartView.Refreshed.fire(this);
After executing the example as the result of occurring the Refreshed event, the browser console displays a message that the express report is in the edit mode.
See also: