Threshold constructor
const
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.
Implementation
const Threshold({
this.color,
this.direction,
this.label,
this.targetAxis,
this.value,
});