Threshold class

Defines a threshold for categorizing time series values.

Constructors

Threshold({Input<ThresholdColor>? color, Input<ThresholdDirection>? direction, Input<String>? label, Input<ThresholdTargetAxis>? targetAxis, Input<double>? value})
Creates a new Threshold. color The state color for this threshold. Color is not allowed in a XyChart. direction The direction for the current threshold. Direction is not allowed in a XyChart. label A label for the threshold. targetAxis The target axis to use for plotting the threshold. Target axis is not allowed in a Scorecard. value The value of the threshold. The value should be defined in the native scale of the metric.
const
Threshold.fromMap(Map<String, dynamic> map)
factory

Properties

color → Input<ThresholdColor>?
The state color for this threshold. Color is not allowed in a XyChart.
final
direction → Input<ThresholdDirection>?
The direction for the current threshold. Direction is not allowed in a XyChart.
final
hashCode → int
The hash code for this object.
no setterinherited
label → Input<String>?
A label for the threshold.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
targetAxis → Input<ThresholdTargetAxis>?
The target axis to use for plotting the threshold. Target axis is not allowed in a Scorecard.
final
value → Input<double>?
The value of the threshold. The value should be defined in the native scale of the metric.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited