The custom JSON widgets are designed to render information from custom enterprise business software that are typically setup behind a firewall and accessed over VPN. To display widgets in Numerics either the business software itself or some form of ‘middleware’ needs to make the required data available in JSON format according to the Numerics Widget Data Specification at an URL accessible by Numerics.

Each widget type with its data specification are listed below. Your JSON output should be precisely formatted as in the examples below. Once the JSON data is available, simply enter the entire URL to the JSON data into the path field. e.g. http://yourcompany.net/path/to/data.json.

You can optionally set the background color of a widget with a color key via the JSON. If the color key exists, it will over ride any background color chosen in the widget’s display configuration. The following color values can be used: red, blue, green, purple, orange.

Label from JSON data:

Following is the Widget Data Spec for a label widget:

Label widget

The values are settable by your system but the keys must be named as above. If the JSON is formatted correctly, the widget should show a text label from the JSON data.

Number from JSON data:

Following is the Widget Data Spec for a simple number widget:

Number widget

The values are settable by your system but the keys must be named as above. If the JSON is formatted correctly, the widget should show a number from the JSON data.

Count and difference indicator from JSON data

Following is the Widget Data Spec for a number with change indicator widget:

Count difference widget

The first value is the actual number to be displayed while the second value is the number from the previous period that is used to calculate the change or difference percentage. The values are settable by your system but the keys must be named as above. If the JSON is formatted correctly, the widget should show a number with a percentage change indicator from the JSON data.

Line graph from JSON data

Following is the Widget Data Spec for a line graph widget:

Line widget

The data array can contain a maximum of 31 items. The values are settable by your system but the keys must be named as above. If the JSON is formatted correctly, the widget should show a line graph from the JSON data.

Named line graph from JSON data

Following is the Widget Data Spec for a named line graph widget:

Named line widget

The data array can contain a maximum of 31 items. The values are settable by your system but the keys must be named as above. If the JSON is formatted correctly, the widget should show a named line graph from the JSON data.

Pie chart from JSON data

Following is the Widget Data Spec for a pie chart widget:

Pie widget

The top 5 items will be chosen to draw the pie slices and the rest will be added to one slice called other. The values are settable by your system but the keys must be named as above. If the JSON is formatted correctly, the widget should show a pie chart from the JSON data.

Top list funnel chart from JSON data

Following is the Widget Data Spec for a top list funnel widget:

Top widget

The top 5 items will be chosen to draw the top list. The values are settable by your system but the keys must be named as above. If the JSON is formatted correctly, the widget should show a top list funnel chart from the JSON data.

Gauge from JSON data

Following is the Widget Data Spec for a gauge widget:

Gauge widget

If the JSON is formatted correctly, the widget should show a gauge from the JSON data with a green background color.

Timer from JSON data

Following is the Widget Data Spec for a timer widget:

Timer widget

If the JSON is formatted correctly, the widget should show a timer from the JSON data counting down to the date: 21st December 2020 and the event name Warp drive activation will be displayed below the countdown, with a green background color.

Hour density chart from JSON data

Following is the Widget Data Spec for an hour density clock widget:

Hour density widget

The data array must contain items for 24 hours for a single day. The values are settable by your system but the keys must be named as above. If the JSON is formatted correctly, the widget should show an hour density clock from the JSON data, starting at 00 and broken into 24 equal slices, with each slice of the pie representing an hour. Hours with the highest values are the brightest, while hours with lower values are incrementally more transparent and closer to the background color of the widget.

Day density chart from JSON data

Following is the Widget Data Spec for a day density calendar widget:

Day density widget

The data array must contain dates for a month. The values are settable by your system but the keys must be named as above. If the JSON is formatted correctly, the widget should show a day density calendar from the JSON data, with each block representing a day. Days with the highest values are the brightest, while days with lower values are incrementally more transparent and closer to the background color of the widget.