Skip to main content
Hitachi Vantara Lumada and Pentaho Documentation

global

Members

Name Description
current : pentaho.type.changes.Transaction

Gets the ambient transaction, if any, or null.

Methods

Name Description
_apply()
_apply()
_configureCccVisualRoles()
Protected

Configure CCC visualRoles.

_getDiscreteColorMap()
_transformData()
Protected

Calls base plus it filters out rows having a null "rows" visual role value when the visual role is operating in a continuous mode.

_transformData()
Protected

Calls base plus it filters out rows having a null "x" or "y" visual role value.

createTrend(trendArgs) : Number

/* Computes a trend of a given type and adds the result to a new column in the table.

Members Details

current: pentaho.type.changes.Transaction

Gets the ambient transaction, if any, or null.

Source: javascript/web/pentaho/type/changes/_transactionControl.js, line 45

Methods Details

_apply()

Source: javascript/web/pentaho/visual/base/ModelAdapter.js, line 69

_apply()

Source: javascript/web/pentaho/visual/base/AbstractModel.js, line 47

_configureCccVisualRoles()
Protected

Configure CCC visualRoles.

Source: javascript/web/pentaho/ccc/visual/BarLine.js, line 68

_getDiscreteColorMap()

Source: javascript/web/pentaho/ccc/visual/Sunburst.js, line 194

_transformData()
Protected

Calls base plus it filters out rows having a null "rows" visual role value when the visual role is operating in a continuous mode.

TODO: This is a temporary solution. Ideally, visual role definitions would specify an attribute such as allowsNullData, defaulting to true, and the data would be filtered out a priori.

Source: javascript/web/pentaho/ccc/visual/PointAbstract.js, line 49

_transformData()
Protected

Calls base plus it filters out rows having a null "x" or "y" visual role value.

TODO: This is a temporary solution. Ideally, visual role definitions would specify an attribute such as allowsNullData, defaulting to true, and the data would be filtered out a priori.

Source: javascript/web/pentaho/ccc/visual/MetricPointAbstract.js, line 118

createTrend(trendArgs) : Number

/* Computes a trend of a given type and adds the result to a new column in the table.

For data views, this method creates the trend in the root Table, and makes the created trend column visible in the intervening views.

Source: javascript/web/pentaho/data/_trends.js, line 27

Parameters:
Name Default Value Summary
trendArgs : Object

A keyword arguments object.

Parameters:
Name Default Value Summary
type : String

The type of trend to create; possible values: 'linear'.

x : Number

The index of the "x" value column; can be a numeric or string column.

y : Number

The index of the "y" value column; must be of a column of type 'number'.

name : String

The name of the new trend column; defaults to the type of trend plus the suffix "Trend".

label : String

The label of the new trend column; defaults to the trend name, when specified, or to the default label of the trend type.

Returns:
Name Description
Number

The index of the added trend column.

Type Definitions

Class()

The Class.&ltT> type denotes the constructor, or class, T, in a place where it could be interpreted as an instance of that class.

Source: doc-js/pentaho/Class.jsdoc, line 17

JsonValue: null | string | boolean | number | Object | Array

The JsonValue type contains the JavaScript value types that have a direct representation in JSON.

Source: doc-js/pentaho/JsonValue.jsdoc, line 17

nonEmptyString: string

The nonEmptyString type is the type of all strings except the empty string.

Source: doc-js/pentaho/nonEmptyString.jsdoc, line 17

Nully: null | undefined

The Nully type contains the two values: null and undefined.

Source: doc-js/pentaho/Nully.jsdoc, line 17