RangeMap🔗
Maps numerical ranges to a display text and color.
For example, if a value is within a certain range, you can configure a range value mapping to display Low or High rather than the number.
Definition🔗
class RangeMap:
"""
Maps numerical ranges to a display text and color.
For example, if a value is within a certain range, you can configure a range value mapping to display Low or High rather than the number.
"""
type_val: typing.Literal["range"]
# Range to match against and the result to apply when the value is within the range
options: dashboard.DashboardRangeMapOptions
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.