Skip to main content

Linear Scales

  • 2 minutes to read

Linear scales are designed to imitate linear analog measuring instruments, including but not limited to, thermometers, mercury barometers, and manometers. There are two types of linear scales available in the Gauge Control:

Linear scales use the level bar to indicate the measured value on the range, marked with minor and major ticks and their label inscriptions:

A linear scale is vertical by default, with its measured values ranging from bottom to top. However, you can choose one of the possible linear scale layout orientations by assigning the respective value to the OptionsView.RotationAngle property:

  • The raMinus90 value, corresponding to the default linear scale layout orientation (the scale’s tick marks and labels are to the left of its level bar);

  • The raPlus90 value, corresponding to the “inverted default” linear scale layout orientation (that is, the scale is vertical, with its measured values ranging from top to bottom; the scale’s tick marks and labels are located to the right of its level bar);

  • The ra180 value, corresponding to the horizontally aligned linear scale layout, with the scale’s measured values ranging from left to right (the scale’s tick marks and labels are above its level bar);

  • The ra0 value, corresponding to the horizontally aligned linear scale layout, with the scale’s measured value ranging from right to left (the scale’s tick marks and labels are below its level bar).

In addition to the linear scale layout rotation option, you can invert the current position of the tick marks and labels on it in relation to the level bar by using the OptionsView.AlignElements property:

Like all arc scale types, the linear scales support colored range bars, allowing you to denote one or more specific intervals within the range of scale’s displayed values:

For more information on scale range bars, refer to the How to Work with Scale Range Bars topic.