Threshold🔗
Definition🔗
class Threshold:
# Value null means -Infinity
value: typing.Optional[float]
# Optional dashboard-variable expression (e.g. `$myVar`) resolved at render time; `value` is the numeric fallback when the expression cannot be resolved to a single finite number.
value_expr: typing.Optional[str]
color: str
Methods🔗
to_json🔗
Converts this object into a representation that can easily be encoded to JSON.
from_json🔗
Builds this object from a JSON-decoded dict.