Skip to main content
Hitachi Vantara Lumada and Pentaho Documentation

global

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.

createTrend(trendArgs) : Number

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

Methods Details

_apply()

Source: javascript/web/pentaho/visual/base/modelAdapter.js, line 65

_apply()

Source: javascript/web/pentaho/visual/base/abstractModel.js, line 41

_configureCccVisualRoles()
Protected

Configure CCC visualRoles.

Source: javascript/web/pentaho/ccc/visual/barLine.js, line 70

_getDiscreteColorMap()

Source: javascript/web/pentaho/ccc/visual/sunburst.js, line 195

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

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 50

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. 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

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

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

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

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