ThresholdResponse class
Defines a threshold for categorizing time series values.
Constructors
-
ThresholdResponse({required Input<
String> color, required Input<String> direction, required Input<String> label, required Input<String> targetAxis, required Input<double> value}) -
Creates a new ThresholdResponse.
colorThe state color for this threshold. Color is not allowed in a XyChart.directionThe direction for the current threshold. Direction is not allowed in a XyChart.labelA label for the threshold.targetAxisThe target axis to use for plotting the threshold. Target axis is not allowed in a Scorecard.valueThe value of the threshold. The value should be defined in the native scale of the metric.const -
ThresholdResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
color
→ Input<
String> -
The state color for this threshold. Color is not allowed in a XyChart.
final
-
direction
→ Input<
String> -
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<
String> -
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