- Since:
-
9.4.0
Type Definitions
-
SignalCondition
-
Structure of signal condition.
Type:
- Array
- "<" (lhs < rhs)
- "<=" (lhs <= rhs)
- "=" (lhs = rhs)
- ">" (lhs > rhs)
- ">=" (lhs >= rhs)
- "<>" (lhs <> rhs)
- ">p" (greater than previous)
- "<p" (less than previous)
- "=p" (same as previous)
- "x" (crosses another plot/value in either direction)
- "x+" (crosses another plot/value upwards"
- "x-" (crosses another plot/value downwards"
- "t+" (turns upwards"
- "t-" (turns downwards"
- Since:
-
9.4.0
Properties:
Index Type Description 0string Field of study output to use as left hand side of condition expression(s)
1string Operator to use on the field(s). The following are supported:
2string | number | null Field of study output to use as right hand side of condition expression(s), if necessary. Set to a number for comparison to a constant value, or null if operator does not need two operands.
3string | null Color of the signal. If not provided, field's color will be used. The
colorcan be either a literal CSS color, or a variable beginning with an asterisk (*), which matches up to the corresponding variable in the themes' signalIQ/colorMap setting. That way, colors can be customized by theme.4SignalMarkerSettings Optional settings for marker. When multiple conditions match, markerOptions from the first matching condition are applied.
-
SignalDataConfig
-
Configuration of the actual signal trigger. This is done through one or more conditions.
Type:
- object
- Since:
-
9.4.0
Properties:
Name Type Argument Description namestring <optional>
Name of signal, will appear as headline of marker.
revealboolean <optional>
Reflects current visibility of the marker expansion.
conditionsArray.<SignalCondition> <optional>
One or more conditions that need to match for signal to be generated.
joiner'&' | '|' <optional>
Whether the conditions are "any" or "all". Default is "any".
descriptionstring <optional>
Optional description to show in body of marker expansion.
-
SignalIQConfig
-
SignalIQ configuration settings.
Type:
- Since:
-
9.4.0
Properties:
Name Type Argument Description colorMapRecord.<string, (string|undefined)> <optional>
Map of keys to colors. Keys correspond to signal conditions. This map omits the asterisks. See sample config.js for example.
-
SignalMarkerSettings
-
Optional settings for signal marker.
Type:
- object
- Since:
-
9.4.0
Properties:
Name Type Argument Default Description shape'square' | 'circle' | 'diamond' | 'text' | 'noshape' <optional>
'circle' Shape of marker.
size'S' | 'M' | 'L' <optional>
'S' Size of marker.
positionYPositioner <optional>
'top' Where to place the marker.
colorstring <optional>
Color of marker, can get overridden by color in SignalDataConfig.
descriptionstring <optional>
Optional description to show in body of marker expansion, overrides the property in SignalDataConfig.
labelstring <optional>
Label to draw on marker (usually this is one character).
