Simple value widgets
Simple value widgets allow you to highlight a single KPI or datum of interest. This can be of any data type, but a common example would be the count or average value of a KPI.
This is useful when you want to put a spotlight on a KPI in your Activeboard.  Â
What data do I need for this widget?
Any kind of data will work but the query must indicate a single datum.
Widget settings
To edit the widget settings, you must first be in Edit mode.
Click the widget title bar to open its settings. Alternatively, the settings are accessible via the Ellipsis icon → Properties. The widget settings are contained in three tabs, Data, Visual, and Raw.
The settings in the Data and Raw tabs are described in the Create a widget article. These are the Visual settings for the Simple Value widget:
Category | Setting | Description |
---|---|---|
Fields | Value | Select the field you want to represent in the widget. |
Numbers | Number format | Select one of the following options:
|
Decimal places | Specify the required number of decimal places to be shown when you select the Rounded option. | |
Colors | Color | Select the default color of the KPI text. This may be overridden when a KPI meets the threshold condition. See the Conditions settings below. |
Font | Size (px) | The default font size of the widget text. |
Weight | Sets the font weight used for displaying the KPI. Choose from Normal, Bold, and standard CSS font weights between 100 and 900. | |
Link | Link format | Turn on to transform a value into a hyperlink. Once activated, you can modify the link pattern. By default, the pattern will be $ value, where this value becomes a link. The default URL protocol is https//: and other supported protocols are http, htpps and fttp. |
Text | Prefix | Enter any characters that should appear before the KPI value in the widget. |
Suffix | Enter any characters that should appear after the KPI value in the widget. | |
Label | The label will appear below the KPI in normal font weight and black characters. | |
Conditions   | Add conditional formatting to the appearance of this widget. Click the + icon to add a condition. Set the following fields for each condition. | |
Operator & Value | Specify the condition by combining the Operator with the Value. For the operator, choose from > (greater than), < (less than), = (equal to) or != (not equal to). | |
Color | Select the color of the KPI text when the condition is true. | |
Background Color | Select the color of the widget background when the condition is true. | |
Icon Url | Enter the URL of the image you want to include in the widget when the condition is true. |
Query example
This is the source query used and the fields mapped to generate the widget shown above:
query(
from demo.ecommerce.data
group every 30m by protocol
select count() as count
)
Value |
|
---|---|
Conditions |
|
Â