Skip to end of metadata
Go to start of metadata
General

Component Palette Icon:



Description

The Simple Gauge component in Perspective provides a way to show realtime values in a range as they change. This gauge is a less complicated version of the Gauge component. It has just one axis, is easy to configure and is customizable in its appearance.

This feature is new in Ignition version 8.1.2
Click here to check out the other new features

The Simple Gauge component had three pre-configured variants:

  • Half Circle - Default layout with a half-circle gauge.
  • 3/4 Circle - Layout with a 3/4 circle gauge. 
  • Full Axis - Layout with a full axis gauge.
Properties

Most Properties have binding options. For more information on Bindings, see Types of Bindings in Perspective.
This section only documents the Props Category of properties. The other Categories are described on the Perspective Component Properties page.

NameDescriptionProperty Type
valueNumeric value for the gauge to display. Default is 0.value: numeric
minValueMinimum gauge value for this gauge. Default is 0.value: numeric
maxValueMaximum gauge value for this gauge. Default is 100.value: numeric
startAngleRadial position for the start of the gauge's arc. Default is 180.value: numeric
endAngleRadial position for the end of the gauge's arc. Default is 360.value: numeric
arc

The arc is a radial band that displays the gauge's value.

 Click here to see the arc properties
NameDescriptionProperty Type
widthWidth of the line (in pixels) that represents the arc. Default is 20.value: numeric
colorColor of the arc line showing the gauge's value. Can be chosen from color wheel, chosen from color palette, or entered as RGB or HSL value. See Color Selector.color
cornerRadiusAmount to round the edges of the arc. Default is 0.value: numeric
object
arcBackground

Background or 'track' for the gauge arc. Shows shape and total potential value behind the arc.

 Click here to see the arcBackground properties
NameDescriptionProperty Type
colorColor of the arc background. Can be chosen from color wheel, chosen from color palette, or entered as RGB or HSL value.color
opacityOpacity of the arc. 0 is fully transparent, 1 is fully opaque.

value:
numeric

value: numeric
label

The label for the gauge is displayed as text, with optional units.

 Click here to see the label properties
NameDescriptionProperty Type
visibleIndicates whether or not the label is visible. Default is true (visible).value: boolean
sizeFont size to display label text. Default is 25.value: numeric
unitsAny unit information to append to the value on the label.value: string
maxDecimalMaximum number of digits after decimal to display in the label. If null, full value will display.value: numeric
object
animateWhether needle should be animated in a sweeping motion when value changes. Default is false.value: boolean
styleSets a style for this gauge. Full menu of style options is available for text, background, margin and padding, border, shape and miscellaneous. You can also specify a style class.object


Perspective Component Events
The Perspective Event Types Reference page describes all the possible component event types for Perspective components. Not all component events support each Perspective component. The Component Events and Actions page shows how to configure events and actions on a Perspective component. Component scripting is handled separately and can be accessed from the Component menubar or by right clicking on the component.

Example


PropertyValue
Value32.4567
props.arc.width15
props.arc.cornerRadius25
props.arc.color#FF8C00
props.arcBackground.opacity0.4
props.label.unitspsi
props.label.maxDecimal1


  • No labels