MaxYAxisMask coding group

Defines the mask for the NumericBox MaxYAxis settings in HistoryTrend for each item. Used to determine how to calculate the Max of an axis (in percentage / normal value replacement).

Lua access code

To access the code of the codings below, append the coding group name and coding name to inmation.model.codes, see an example below.

return inmation.model.codes.MaxYAxisMask.MASK_ABSOLUTE

Codings

Name Code Description
MASK_ABSOLUTE 2 Use a number as the Y-Axis minimum value
MASK_NONE 1 The Maximum Y-Axis value is the maximum of the item
MASK_PERCENTAGE_MAX 3 Increase the maximum Y-Axis value by the specified percentage
MASK_PERCENTAGE_RANGE 4 Highest Y-Axis value calculated as the maximum of the item plus an increase of x% of the range
MASK_ROUNDING_MAX 5 Rounds the maximum Y-Axis value to the next magnitude of 10