Skip to main content
Hitachi Vantara Lumada and Pentaho Documentation

global

Members

Name Description
mappingAttrInfos : Array.<MappingAttributeInfo>

Methods

Name Description
_getDiscreteColorMap()
createTrend(trendArgs) : Number

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

equalsContent(other) : boolean

Determines if a given value, of the same type, represents the same entity with the same content.

Members Details

mappingAttrInfos: Array.<MappingAttributeInfo>

Source: javascript/web/pentaho/ccc/visual/axes/AbstractAxis.js, line 38

Methods Details

_getDiscreteColorMap()

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

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.

equalsContent(other) : boolean

Determines if a given value, of the same type, represents the same entity with the same content.

Source: javascript/web/pentaho/type/element.js, line 60

Parameters:
Name Default Value Summary
other : pentaho.type.Value

A value to test for equality.

Returns:
Name Description
boolean

true if the values have the same content; or, false, oterhwise.

Type Definitions

Class()

The Class.<T> 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