Gauge
Docs · Visuals
Gauge JSON format.
A semicircle that shows where a value sits between a minimum and a maximum.
Try it
Edit the example and the visual redraws. Mistakes show the same messages the API returns.
The visual
Change any number or label. The chart follows.
Fields
| Field | Type | Rule |
|---|---|---|
labelRequired | string | What the gauge measures. Up to 80 characters; may be empty. |
valueRequired | number | The current reading. |
minRequired | number | The low end. Must be less than max. |
maxRequired | number | The high end. |
suffixOptional | string | Shown after the value, such as "%". Up to 80 characters. |
Good to know
- No other keys are allowed.
Example
{
"label": "of this month's minutes",
"value": 72,
"min": 0,
"max": 100,
"suffix": "%"
}Send it from your code
Paste the document in the editor, or replace it with a PUT to the visual's push URL. The push API page has the details and examples.
Next: Map JSON format