EaxMdService.setUnitSelection

Syntax

setUnitSelection(report: PP.Exp.EaxAnalyzer, unitOption: PP.Exp.UnitOption, callback: PP.Delegate);

Parameters

report. Report, for which units are scaled.

unitOption. Variant of unit calculation.

callback. Callback procedure.

Description

The setUnitSelection method scales express report units.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Normalize express report units:

// Determine express report
report = expressBox.getSource();
// Normalize express report units
eaxMdService.setUnitSelection(report, PP.Exp.UnitOption.Normalized);
// Refresh report
expressBox.refreshAll();

After executing the example express report units are normalized.

See also:

EaxMdService