Class: ComposedVars

ComposedVars(…texts)

new ComposedVars(…texts)

Creates an instance of ComposeVars.
Parameters:
Name Type Attributes Description
texts Array <repeatable>
Array of field names
Source:

Methods

getMembers() → {Array}

Get all the field names from composed variable instance.
Source:
Returns:
Array of field names.
Type
Array

getMinDiff() → {number}

Returns the consecutive minimum difference of the field values.
Source:
Returns:
Minimum consecutive difference.
Type
number

numberFormat() → {function}

Returns the number formatter function of the variable.
Source:
Returns:
Number formatter function of the variable.
Type
function

subtype() → {string}

Returns the subtype of the fields associated with this variable instance.
Source:
Returns:
Subtype of the variable.
Type
string

type() → {string}

Type of field associated with this composed variable.
Source:
Returns:
Type of variable (Measure/Dimension).
Type
string