CurrentScaleChanged: function | PP.Delegate
sender. Event source.
args. Event information.
The CurrentScaleChanged event occurs on changing the current speedometer scale.
To execute the example, the page must contain the GaugeMaster component named master (see Example of Creating a Speedometer with a Wizard). Add a handler for the CurrentScaleChanged event:
scaleP.CurrentScaleChanged.add(function (sender, args) { console.log("Current scale index: " + args.ScaleIndex) });
After executing the example index of the current scale is displayed in the console on scale change.
See also: