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.
This is the source query used to generate the above widget:
The image and background color are defined in the widget settings as Conditions. One condition applies the green background and the thumbs-up image when the count of events is greater than or equal to 4,000,000. The other condition applies the red background and the thumbs-down image when the count of events is less than 4,000,000.
What data do I need for this widget?
Any kind of data will work but the query must indicate a single datum.
The widget settings are contained in two tabs, Data and Visual. The settings in the Data tab are described in the Create a widget article.
These are the visual settings for the Simple Value widget:
|Fields||Value||Select the field you want to represent in the widget.|
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 threshold condition. See the Conditions settings below.|
The default font size of the widget text.
Sets the font weight used for displaying the KPI. Choose from Normal, Bold, and standard CSS font weights between 100 and 900.
Turn on to transform a URL value into a hyperlink. This is only useful for values in URL format.
|Prefix||Enter any characters that should appear before the KPI value in the widget.|
Enter any characters that should appear after the KPI value in the widget.
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 and 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.|