|
Gauge
A Gauge element is a meter with an adjustable sweep angle and range. You can use it to graphically display the value of a certain variable. The hand has, opposed to on a dial, a range of 180 degrees.
Tab sheet: Basics
| 1. | Click the Basics tab sheet. |
| 2. | In the Start box, type the minimum value of the range of your gauge. |
| 3. | In the Stop box, type the maximum value of the range of your gauge. |
| 4. | In the Step box, type the output step value value of the gauge. |
| 5. | If you want the value to be shown below the gauge, click Show Number. |
| 6. | In the Start Angle box, type the Start angle (0 = left, 90 = top, 180 = right). |
| 7. | In the Sweep Angle box, type the sweep angle (180 = semicircle, 90 = quarter circle). |
| 8. | Decide if you want the gauge to move Clockwise or Counterclockwise by clicking the appropriate radio button. |
| 9. | If you want the marks to be shown, click Show marks every, and type the value in the box. |
| 10. | If you want the gauge to have a border, in the Bordered box, select a border from the pull-down menu. |
Tab sheet: Variable
| 1. | Click the Variables tab sheet. |
| 2. | Choose the variable of which you want the value to displayed on the gauge. |
Tab sheet: Colour
| 1. | Click the Colour tab sheet. |
| 2. | Select a colour from the palette. |
| 3. | Indicate whether the color is for the gauge (background), values or markers. |
Tab sheet: Position
Please note! Using this tab sheet to set the position is optional. Instead of dragging and resizing, you can use the Position tab sheet to specify relative and absolute positions.
| 1. | Click the Position tab sheet.
- Left, Top, Right, an Bottom, refer to the four sides of the element.
- Relative Position refers to the position on the window, where the maximum left and top side of the window refer to 0, and the maximum right and bottom side of the window refer to 1.
- Offset refers to the amount of pixels from the topleft corner of the window. |
| 2. | Determine the relative position of the left, top, right, and bottom side of the element by typing values between 0 and 1 in the appropriate Relative Position boxes. |
| 3. | Determine the size of the element by typing the amount of pixels in the appropriate Offset boxes. |
Related topics:
Dynamic Widgets
Static Widgets
Copyright University of Twente 2011
|