Build / Widgets
Styling and thresholds
This page covers the Style tab of a classic widget’s Widget Settings: labels, axes, number formatting, colors and thresholds. Settings that only one widget type has, such as Horizontal Chart or Inner Radius (%), are on Chart types. Query Widgets are styled in YAML; see Query Widget YAML.
Legend and labels
Section titled “Legend and labels”Shown on Bar, Line, Pie, Gauge and Funnel widgets.
| Setting | What it does |
|---|---|
| Show Legend | Shows or hides the legend. |
| Legend Position | Top, Bottom, Left or Right. |
| X Label and Y Label | Axis titles. |
Legend Position, X Label and Y Label only appear while Show Legend is on.
Text size
Section titled “Text size”Font Size sets the text size on Number, Dynamic Value, and Static Value widgets in Text mode. Leave it blank to size the text to fit the widget.
Axes and scale
Section titled “Axes and scale”Shown on Bar and Line charts.
| Setting | What it does |
|---|---|
| Y Min and Y Max | Fixes the value axis range. Leave blank to fit the data. |
| Show X Axis and Show Y Axis | Shows or hides each axis. |
| Cumulative X Axis | Shows a running total across the X axis. |
| Log Scale (Y) | Uses a logarithmic value axis. Set its base in Log Base, which defaults to 10. |
| Fill Empty Points | Adds zeros for time periods with no data. |
| X Axis Label Rotation | Tilts the X axis labels by this many degrees. |
Number formatting
Section titled “Number formatting”The Value Display group formats the numbers a widget shows.
| Setting | What it does | Shown on |
|---|---|---|
| Data Labels | Shows values on the bars, points, slices or stages. | Bar, Line, Pie, Funnel |
| % Suffix | Adds % after values. |
Number, Bar, Line, Pie, Gauge, Funnel |
| $ Prefix | Adds $ before values. |
Same |
| Abbreviate Numbers | Shows 1.2K instead of 1,200. | Same |
| Rounding (decimal places) | How many decimal places to show. Leave blank for automatic. | All data widgets |
Bar and Line charts can override % Suffix and $ Prefix for each data layer, and Table widgets add % or $ to chosen columns. Both are on a layer’s Format tab; see Create a classic widget. Matrix widgets set these per data layer instead; see Matrix.
When the layers on a chart use different prefixes or suffixes, the shared value axis and threshold labels leave them off so units don’t get mixed.
Colors
Section titled “Colors”Shown on Bar, Line, Pie, Gauge, Number, Table and Matrix widgets. Choose one mode under Colors:
- Use default colors: the widget’s palette. To pick one layer’s color, turn off Use default on that layer’s Format tab.
- Use threshold colors: colors come from threshold rules, set up as described below. Pie widgets don’t support thresholds.
Thresholds
Section titled “Thresholds”Thresholds color a value when it crosses a level you set, and can play a sound from your Soundboard. They’re available on Number, Bar, Line, Gauge, Table and Matrix widgets.
| Widget | What a threshold colors |
|---|---|
| Number | The number |
| Bar | Each bar |
| Line | The line, above or below each level |
| Gauge | The progress ring and pointer |
| Table | Cells in the column the threshold set targets |
| Matrix | Cells in the data layer the threshold set targets |
Add thresholds to a Number, Bar, Line or Gauge widget
Section titled “Add thresholds to a Number, Bar, Line or Gauge widget”- On the Style tab, set Colors to Use threshold colors.
- Under Thresholds, click Configure Thresholds.
- Click + to add a threshold. Each one reads as a sentence: If the value is ≥, ≤ or = a number, color it a color.
- To play a sound, choose one in And play. Click the play button to hear it.
- Click Done.
Add thresholds to a Table or Matrix widget
Section titled “Add thresholds to a Table or Matrix widget”Tables and matrices hold one set of thresholds per column or data layer.
- On the Style tab, set Colors to Use threshold colors.
- Under Thresholds, click Configure Thresholds.
- Click Add Threshold Set.
- Choose a column (Table) or data layer (Matrix). On a Matrix, All Data Layers applies one set to every layer, and a set for one layer overrides it.
- Click + and set up each threshold as above.
- Click Save & Return. Add more sets the same way, then click Done.
Only numeric columns can have thresholds. If a table has none, the editor says so.
Threshold options
Section titled “Threshold options”| Option | What it does |
|---|---|
| No color | Keeps the threshold without changing the color, such as when it’s only there to play a sound. Click Enable color to turn color back on. |
| Label prefix and Label suffix | Text around the value in the threshold’s label. Bar, Line, Table and Matrix only. |
| When value is | Shown once a sound is chosen. Sets when the sound plays: ≥, ≤ or = the threshold. This is separate from the color rule, so a value can turn red when high and play a sound when low. |
| Repeat | Replays the sound every so many seconds while the value stays past the threshold. |
| Show threshold markers | On Bar and Line charts, draws each threshold as a labeled line. |
| Infill cell color | On Table and Matrix widgets, fills the whole cell instead of coloring the text. |
New thresholds start with ≥ for both color and sound.
When a value matches more than one threshold, an = match wins. Otherwise, among ≥ thresholds the highest level wins, and among ≤ thresholds the lowest level wins. A value that matches none gets a fallback color, so add thresholds that cover the whole range you expect.
Sound settings
Section titled “Sound settings”Click the gear icon in the threshold editor to open Sound Settings:
| Setting | What it does |
|---|---|
| Allow Mute | Lets viewers mute this widget’s sounds from its footer. |
| Snooze Duration (seconds) | How long the snooze button in the footer silences the sounds. |
If the editor warns that the widget is set to static colors, click Use Threshold Colors.