DataMapping

Namespace: PP

Inheritance hierarchy

Object

DataMapping

Description

The DataMapping class contains settings of source data mapping with visualizer elements.

Syntax

PP.initClass(PP.DataMapping, PP.Object, "PP.DataMapping");

Constructor

  Constructor name Brief description
DataMapping The DataMapping constructor creates an instance of the DataMapping class.

Properties

  Property name Brief description
AutoSetup The AutoSetup property determines whether data is automatically mapped.
DataSource The DataSource property determines a data source for an object of data mapping settings.
DataTransformer The DataTransformer property determines a data converter.
DimAttributeId The DimAttributeId property determines identifier of the dimension attribute that is used to select data from the data source.
Format The Format property determines format of displaying numeric data in a bubble chart.
Index The Index property determines index that is used to get data from each dimension.
Scale The Scale property determines data mapping scale in the source.
Type The Type property determines transformation type for data mapped with visualizer elements.
Value The Value property determines the value corresponding to all visualizer elements.

Methods

  Method name Brief description
getData The getData method returns a scale element or converted data by series identifier.
getDataSourceItem The getDataSourceItem method returns data from source by series identifier.
setup The setup method sets data display settings and index to be used to get data from each dimension.
transformDataSourceItem The transformDataSourceItem method converts data from the source to scale element, processed data or a constant depending on data processing method.

Properties inherited from the class Object

  Property name Brief description
Data The Data property associates a random object with this component.
Id The Id property sets component identifier.
Settings The Settings property sets the component parameters.

Methods inherited from the class Object

  Method name Brief description
clone The clone method creates a copy of object. It is not implemented in PP.Ui.Control.
dispose The dispose method deletes the component.
getTypeName The getTypeName method returns the name of the object type without the namespace, to which it belongs.

See also:

PP