Fields – Gauge

This field is used to display various types of gauges to visualize data. All gauges require a data source to return data that will be displayed on the chart which can be in the form of a static value, TSQL, or value from an XML element.

There are several different ways to display a gauge:

Here is an example of the Field Definition:

A screenshot of the creation process for a gauge field in trellispark.

Below are the fields and their purpose:

  • Gauge Type – A dropdown list containing various types of gauges.
  • Minimum Value – Determines the minimum value of the gauge.
  • Maximum Value – Determines the maximum value of the gauge.
  • Label Format – Determines the numeric formatting of the labels on the gauge, this field is optional. A list of numeric formats can be found here.
  • Label Colour – Determines the colour of the labels. This value can be any CSS, HEX, or RGB value.
  • Label Visible – Determines if the labels will be visible on the gauge.
  • Gauge Orientation – Only available when the Gauge Type is Linear. Determines how the gauge will be laid out.
  • Display Current Value – Only available when the Gauge Type is Arc or Circular. Determines if the current value will be displayed on the gauge.
  • Meter Colour – Determines the colour of the meter on the gauge. Any valid CSS, HEX, or RGB value is accepted.
  • Meter Background Colour – Determines the background colour of the meter on the gauge. Any valid CSS, HEX, or RGB value is accepted.
  • Colour Ranges – Only available when the Gauge Type is Linear or Radial. Allows you to specify a colour to be displayed for a specifc range of the gauge.
  • Value Type – Determines the data source for the gauge.
  • Static Value – Only available when the Value Type is Static. Allows you to input a static numeric value to display on the gauge.
  • Stored Procedure – Only available when the Value Type is TSQL. Allows you to input a TSQL Stored Procedure to call that will return a numeric value for the gauge.
  • XML Element – Only available when the Value Type is XML Element. Allows you to specify another numeric field on the concept and pull its value for the gauge. Make sure the XML Element you select actually has a value otherwise the gauge will not load.
Updated on December 29, 2022

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support

Leave a Comment