PropertyChanged: function (sender, args);
sender. Event source.
args. Event information. Available arguments - object of the PP.Mb.Ui.PropertyChangedEventArgs class containing the following properties: PropertyName - property name as an element of the PP.Exp.Ui.ControlType enumeration, Metadata - express report chart settings, TypeUpdateData - updated data type that is set by means of the PP.Exp.Ui.ViewTypeUpdate enumeration.
The PropertyChanged event occurs after selecting the Settings item in context menu of the express report 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 chart in working area of the express report. Handle the PropertyChanged event:
// Get view of the express report chart var chartView = expressBox.getDataView().getChartView(); // Set handler for the PropertyChanged event chartView.PropertyChanged.add(function () { console.log("Properties of the express report chart have been changed."); });
After executing the example on occurring the PropertyChanged event (selecting the Settings context menu item), the browser console displays a message that properties of the express report chart are changed.
See also: