DataMapping.transformDataSourceItem

Syntax

transformDataSourceItem(data: Number);

Parameters

data. Data from source.

Description

The transformDataSourceItem method converts source data to a scale element, processed data or a constant depending on data transformation type.

Comments

Returned value depends on the data transformation type because in the PP.DataMappingType.Scale value the method returns value of the PP.SolidColorBrush type.

Example

The example of use is given on the page with description of the DataMapping.getData method.

See also:

DataMapping