Skip to main content
Pentaho Documentation

IPropertyAttributes

pentaho.visual.role.IPropertyAttributes

Exposes members related to the data attributes of visual roles' mappings.

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

See also:  pentaho.visual.role.Mapping#attributes

Members

Name Description
countMax : undefined | number | pentaho.type.spec.PropertyDynamicAttribute.<number>

Gets or sets the maximum number of data attributes that can be mapped for the visual role to be valid.

countMin : undefined | number | pentaho.type.spec.PropertyDynamicAttribute.<number>

Gets or sets the minimum number of data attributes that must be mapped for the visual role to be valid.

isRequired : undefined | boolean | pentaho.type.spec.PropertyDynamicAttribute.<boolean>

Gets or sets a value that indicates if at least one data attribute must be mapped for the visual role to be valid.

Methods

Name Description
countRangeOn(model) : pentaho.IRange.<number>

Evaluates the data attributes count range of the visual role on a given visualization model.

Members Details

countMax: undefined | number | pentaho.type.spec.PropertyDynamicAttribute.<number>

Gets or sets the maximum number of data attributes that can be mapped for the visual role to be valid.

For more information on this property see Property.Type#countMax.

Source: doc-js/pentaho/visual/role/IPropertyAttributes.jsdoc, line 51

countMin: undefined | number | pentaho.type.spec.PropertyDynamicAttribute.<number>

Gets or sets the minimum number of data attributes that must be mapped for the visual role to be valid.

For more information on this property see Property.Type#countMin.

Source: doc-js/pentaho/visual/role/IPropertyAttributes.jsdoc, line 39

isRequired: undefined | boolean | pentaho.type.spec.PropertyDynamicAttribute.<boolean>

Gets or sets a value that indicates if at least one data attribute must be mapped for the visual role to be valid.

For more information on this property see Property.Type#isRequired.

Source: doc-js/pentaho/visual/role/IPropertyAttributes.jsdoc, line 27

Methods Details

countRangeOn(model) : pentaho.IRange.<number>

Evaluates the data attributes count range of the visual role on a given visualization model.

For more information on this property see Property.Type#countRangeOn.

Source: doc-js/pentaho/visual/role/IPropertyAttributes.jsdoc, line 63

Parameters:
Name Default Value Summary
model : pentaho.visual.base.Model

The visualization model.

Returns:
Name Description
pentaho.IRange.<number>

The evaluated element count range.