IIndicatorEditableSetting
Type interface
Sources
IIndicatorEditableSetting is an interface: it describes a shape of data and is not imported on its own.
Properties
keyType
stringKey of the indicator setting this field edits.
maxValueType
undefined|numberSince 5.20.0Largest value allowed for a
"number"setting.minValueType
undefined|numberSince 5.8.1Smallest value allowed for a
"number"setting.nameType
stringLabel of the field in the settings modal. Consecutive fields with the same name share one row.
optionsType
ArrayItems of a
"dropdown": strings, or objects with avalueand atext.An option with
extTarget(the key of a"number"field) sets that field toextTargetValuewhen picked, and its limits toextTargetMinValue,extTargetMaxValueandextTargetStep.scaleType
undefined|numberSince 5.20.0Multiplier for showing the value in the settings modal: the input shows the stored value times
scaleand divides it back on save. For example, Acceleration Bandsfactoris stored in thousandths, soscale: 1000shows0.001as1.The stored value,
minValue,maxValueandstepstay in stored units.stepType
undefined|numberSince 5.20.0Step of the number input. A step of
1or more also makes the setting a whole number: typed decimals are rounded.typeType
"color"|"number"|"dropdown"|"checkbox"|"text"Kind of input the settings modal shows for the setting.