CSIndicator QML Type

The Indicator displays the value on a scale. More...

Import Statement: import CSDataQuick.Components 1.0
Inherits:

CSMonitor

Properties

Detailed Description

The Indicator can have several decorations as specified by the labelStyle. It can go up, down, left, or right, as specified by the direction property. It is very much like CSBar monitor, except that the value is represented by an indicator.

CSIndicator {
    source: 'catest'
    labelStyle: LabelStyle.Outline
    colorMode: ColorMode.Alarm
}

See also CSBar.

Property Documentation

direction : int

This property indicates the maximumValue position.

  • Direction.Up
  • Direction.Right
  • Direction.Down
  • Direction.Left

By Direction.Up, the minimumValue is at the bottom and maximumValue at the top. And by Direction.Right, the minimumValue is at the left and maximumValue at the right. The other two reverse the direction.


label : enumeration

This property holds the decoration mode.

  • LabelStyle.Frame - No extra features.
  • LabelStyle.None - Same as LabelStyle.Frame.
  • LabelStyle.Outline - Show the limits.
  • LabelStyle.Limits - Show limits and a box for the value.
  • LabelStyle.Channel - In addition to LabelStyle.Limits, show the process variable name.

labelStyle : int

This property holds the decoration mode.

  • LabelStyle.Frame - No extra features.
  • LabelStyle.None - Same as LabelStyle.Frame.
  • LabelStyle.Outline - Show the limits.
  • LabelStyle.Limits - Show limits and a box for the value.
  • LabelStyle.Channel - In addition to LabelStyle.Limits, show the process variable name.