Skip to main content
Hitachi Vantara Lumada and Pentaho Documentation

role

pentaho.visual. role

The role namespace contains classes for describing visual roles — an important type of property of visualization models.

Source: doc-js/pentaho/visual/role/_namespace.jsdoc, line 17

Child Namespaces

Name Summary
adaptation

The adaptation namespace contains classes for describing visual role adaptation strategies between external and internal visual models.

scene

The scene namespace contains classes for describing visual scenes.

spec

The visual.role.spec namespace contains specification classes for describing visual role mappings.

Classes

Name Summary
AbstractMapping

The AbstractMapping class is the base class for associations between a visual role and data fields of a visualization's current data set.

AbstractProperty

The AbstractProperty class is the base class of properties that represent a visual role of a visualization and defines its capabilities.

Mapping

The Mapping class holds the association between a specific visual role and the data fields of a model's current data set, as seen internally to the visualization, by the view.

MappingField

The MappingField class represents a field in a visual role mapping.

Mode

The Mode class describes a specific operating mode of a visual role in terms of the data type of its value and of the type of scale, continuous or categorical, used to encode it.

Property

The Property class represents a visual role of a visualization and defines its capabilities.

Interfaces

Name Summary
IFieldsConstraints

The IFieldsConstraints interface exposes metadata information about the fields of visual roles' mappings.

IFieldsMetadata

The IFieldsMetadata interface exposes metadata information about the fields of visual roles' mappings.