Appearance
ThresholdLine
ThresholdLine
is an visual chart component, useful to indicate an important value on a given domain. For example, combustion point, store closing time, etc...
Prop ControlsSHOW
Props
name | type | default | required | description |
---|---|---|---|---|
domain | NumericDomain | N/A | 🗹 | value should be inside the domain in order to see anything |
scaler | LinearScaler | N/A | 🗹 | scaling function for dataspace to screenspace |
value | number | N/A | 🗹 | data-space value for this threshold |
color | string | null | ☐ | Overrides this threshold's region color. Accepts HTML codes like "red" or "#F90" |
isX | boolean | false | ☐ | true if this is an x-axis threshold value |
label | string | null | ☐ | an optional label for this threshold |
nearestPoint | NearestPoint | null | ☐ | NOT USED |