"curveValueFactor" / "cureveValueFactorX"

Defines a factor for a curve by which each new value will be multiplied before being used.

Synopsis

setValue(string shape, "curveValueX", string curve, float factor);
shape.curveValueFactor(string curve, float factor);

Parameters

Parameter Description
shape Name of the object
curve Name of the curve
factor Factor by which the new value is multiplied

Description

The function defines a factor for a curve by which each new value will be multiplied before being used.

Changing this factor in runtime will only be applied to currently held values when the factor was not changed before (it is still 1.0) to avoid rounding errors. Therefore set the factor as early as possible in your init script. Afterwards, the factor will only be applied to new values.

The current scaling factor will be shown in the legend tooltip if the factor is not equal to 1.0.

Assignment

Trend