Skip to main content

Pentaho+ documentation has moved!

The new product documentation portal is here. Check it out now at docs.hitachivantara.com

 

Hitachi Vantara Lumada and Pentaho Documentation

IMode

pentaho.visual.role.spec. IMode

The spec.IMode interface describes the object form of a visual role operating mode instance.

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

Extends

Example

{
 dataType: "number",
 isCategorical: true
}

Members

Name Description
_ : pentaho.type.spec.TypeReference

An inline type reference of the value's type.

dataType : pentaho.type.spec.ITypeDescriptor

The data type of the visual role value when operating in this mode.

isContinuous : boolean

Indicates type of scale, continuous or categorical, used by the associated visual role to encode values when operating in this mode.

Members Details

_: pentaho.type.spec.TypeReference

An inline type reference of the value's type.

Source: doc-js/pentaho/type/spec/IInstance.jsdoc, line 27

Inherited From: pentaho.type.spec.IInstance#_

dataType: pentaho.type.spec.ITypeDescriptor

The data type of the visual role value when operating in this mode.

When unspecified, or specified as null, the default value is pentaho.type.Instance, meaning that values of any data type are accepted.

Source: doc-js/pentaho/visual/role/spec/IMode.jsdoc, line 33

See also: pentaho.visual.role.Mode#dataType

isContinuous: boolean

Indicates type of scale, continuous or categorical, used by the associated visual role to encode values when operating in this mode.

This property is immutable and can only be specified at construction time.

When unspecified, or specified as null, defaults to the value of isContinuous of dataType.

The types pentaho.type.Number and pentaho.type.Date are known to be continuous.

Source: doc-js/pentaho/visual/role/spec/IMode.jsdoc, line 46

See also: pentaho.visual.role.Mode#isContinuous