This is an old revision of the document!


Display Options

Below you'll find some of the options that can be toggled in the displays JSON file.

Stretching

By default, displays are set up to be shown at a 16:9 aspect ratio, which is chosen specifically because it's the normal tull-screen resolution for a TV or standard monitor.

But you might choose to make a display that changes its size _dynamically_. If so, set the 'stretch' value in the configuration file to 'true'.

Title

Normally, the ARDI server adds the title to your display automatically.

However, if you want to add your own title instead, you can set the 'title' option to 0. Titles are also hidden if you choose to embed your display.

Range

The 'range' property changes the default amount of time show on the display when its first opened. The number is in minutes.

The default time for all displays is 10 minutes, but values such as 60 (hour) and 1440 are common,

Please note that the Infographic system is designed for fast displays, so generally will default to time periods of one day or less. If you are going to perform long-term analytics (on periods of longer than 24 hours) we normally suggest using reporting, unless the analytic can be done quickly.

Parameter

The parameter is purely optional - it's used to pass a value to your display at run-time.

This is often used when you have settled on a specific template for a style of display - such as a layout you like for your live analogue values.

You can pass a 'parameter' containing the name of the ARDI property to show on that display - meaning that you can make a single template file and re-use it for dozens of different types of ARDI property.

Template

Contains the name of the script file found in the 'templates' sub-folder of your site display folder that should be used instead of the generate.js file in the local directory.

This is used when you want to re-use a single template and is almost always used along-side the 'parameter' value.

For example, you might have a display called 'Temperature Values', but you want an almost identical display called 'Pressure Values'. Rather than copying the script and maintaining two different copies of the display, you have a single template file that you use in both displays.

This makes future updates significantly easier.