Appearance
ThresholdArea
ThresholdArea
is an visual chart component, useful to indicate an important range on a given domain. For example, business hours vs non, or some arbitrary known range prior to plotting.
Prop ControlsSHOW
Props
name | type | default | required | description |
---|---|---|---|---|
domain | Domain | N/A | 🗹 | min or max should be inside the domain in order to see anything |
max | number | N/A | 🗹 | maximum data-space value for this threshold |
min | number | N/A | 🗹 | minimum data-space value for this threshold |
scaler | LinearScaler | N/A | 🗹 | scaling function for dataspace to screenspace |
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 |
patternRotation | number | 0 | ☐ | angle in degrees to rotate the region's pattern |
patternThickness | number | 1 | ☐ | ratio of line:whitespace in the fill pattern |
Slots
None