Skip to main content
Hitachi Vantara Lumada and Pentaho Documentation

IModel

pentaho.visual.base.spec. IModel

The IModel interface represents the set of options used to initialize a visual model.

Source: doc-js/pentaho/visual/base/spec/IModel.jsdoc, line 17

See also: pentaho.visual.base.Model

Extends

Members

Name Description
_ : pentaho.type.spec.TypeReference

An inline type reference of the value's type.

application : pentaho.visual.base.spec.IApplication

Represents the relevant state and interface of the visual application in which a visual model is being used.

data : pentaho.data.ITable

The data to be displayed.

selectionFilter : pentaho.data.filter.Abstract

The current selection filter.

visualKeyType : pentaho.visual.base.KeyTypes | undefined

The type of visual key used by the visualization.

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#_

application: pentaho.visual.base.spec.IApplication

Represents the relevant state and interface of the visual application in which a visual model is being used.

An application may specialize this property and provide state information that can be used to implement business logic in model configurations that apply to that application.

Check the visual application documentation for the existence of a specialized interface.

This property is not serialized by default. To serialize it, specify the argument keyArgs.omitProps.application of toSpec to false.

Source: doc-js/pentaho/visual/base/spec/IAbstractModel.jsdoc, line 27

Inherited From: pentaho.visual.base.spec.IAbstractModel#application

data: pentaho.data.ITable

The data to be displayed.

This property is required.

This property is not serialized by default. To serialize it, specify the argument keyArgs.omitProps.data of toSpec to false.

Source: doc-js/pentaho/visual/base/spec/IAbstractModel.jsdoc, line 46

Overrides: pentaho.visual.base.spec.IAbstractModel#data

selectionFilter: pentaho.data.filter.Abstract

The current selection filter.

This property is not serialized by default. To serialize it, specify the argument keyArgs.omitProps.selectionFilter of toSpec to false.

Source: doc-js/pentaho/visual/base/spec/IAbstractModel.jsdoc, line 60

Overrides: pentaho.visual.base.spec.IAbstractModel#selectionFilter

See also: pentaho.visual.base.AbstractModel#selectionFilter

visualKeyType: pentaho.visual.base.KeyTypes | undefined

The type of visual key used by the visualization.

Source: doc-js/pentaho/visual/base/spec/IModel.jsdoc, line 27

See also: pentaho.visual.base.AbstractModelType#visualKeyType