AreaVisualPanel.SettingChanged

Syntax

SettingChanged: function (sender, args)

Parameters

sender. Event source.

args. Event information. Available arguments: Name - name of the changed control, Value - new value.

Description

The SettingChanged event occurs on changing panel settings.

Example

To execute the example the HTML page must contain the MapMaster component named master (see Example of MapMaster and EaxMasterBox Components layout). Add a handler for the SettingChanged event:

avp = master.getAreaVisualPanel();

avp.SettingChanged.add(function (sender, args) {

    avp.getMapChart().setBackground(new PP.SolidColorBrush({

        Color: "Yellow",

        Opacity: 0.2

    }))

});

After executing the example on changing setting on the Color Indicator tab map background changes to light yellow.

See also:

MapMaster.AreaVisualPanel