Update Gauge to make needle required true when using segments (#23306)

This commit is contained in:
Zack Barett 2022-07-07 10:56:37 -05:00 committed by GitHub
parent 39d5704d9b
commit 4187d3496d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ max:
default: 100 default: 100
needle: needle:
required: false required: false
description: Show the gauge as a needle gauge. description: Show the gauge as a needle gauge. Required to be set to true, if using segments.
type: boolean type: boolean
default: false default: false
severity: severity:
@ -83,7 +83,7 @@ severity:
type: integer type: integer
segments: segments:
required: false required: false
description: List of colors and their corresponding start values. Segments will override the severity settings. description: List of colors and their corresponding start values. Segments will override the severity settings. Needle required to be true.
type: list type: list
keys: keys:
from: from: