In this article
Text
You can place text labels within the gauge container to provide information to the viewer. Note that these labels are positioned relative to the container and are therefore independent of the actual gauges.
You can create as many labels as you require. To add a label, click the Add button beside the Label List field. A new label will be added to the container and will be included in the Label List. Whilst editing the style, use the Label List to select the label you wish to work with.
Use this tab .- to specify the text that is to be displayed in the selected label. You can specify text for each of the report languages. Click on the tabs and toolbar buttons for further information.
Figure 1 - The Labels > Text properties
Position
Use the properties on this tab .- to position the selected label text in the container. Click the tabs and properties in the figure for further details.
The text is written within a text box, and the properties specify the position and alignment off the text box relative to the parent object (the container or gauge) to which the text box is attached.
Figure 2 - The Labels > Position properties
The properties are as follows:
- Alignment - the position of the text within the text box.
- Angle - specifies the angle of rotation of the text box.
- Parent - the object (container or gauge) to which the position of the text box is related.
- None - the text box is positioned relative to the upper-left corner of the container.
- GaugeX - all the gauges within this container are listed. The text box is positioned relative to the upper-left corner of the selected gauge.
- X - specifies the horizontal position of the left edge of the text box relative to the left edge of the selected "Parent" object, as a percentage of the total width of that object. For example, if a value of 50 is specified here, the left edge of the text box will be positioned 50% of the distance across the parent object.
- Y - specifies the vertical position of the top edge of the text box relative to the top edge of the selected "Parent" object, as a percentage of the total height of that object. For example, if a value of 50 is specified here, the top edge of the text box will be positioned 50% of the distance down the parent object.
- Width - specifies the width of the text box. Note that this is relative to the angle specified, so if you add a rotation angle of 90 deg. the "width" of the text box becomes the "height" on your screen.
- Height - specifies the height of the text box. Note that this is relative to the angle specified, so if you add a rotation angle of 90 deg. the "height" of the text box becomes the "width" on your screen.
Appearance
The properties on this tab define the appearance of the text and the text box. Click on the tabs and properties in the figure herefor further details.
Figure 3 - The Labels > Appearance properties
The properties are as follows:
Appearance:
- Auto Fit Text - when this box is checked, the text font size is changed automatically such that the text is fitted to the dimensions of the text box.
- Font Units - specifies the units to be used for the font size. Select whether you wish to use the Default (points) or Percent (of the height of the Parent element).
- Font - This is the font type to be used for the applicable text item, for example Arial, Courier, Times etc. Type the desired font type into the field.
- Font Size - defines the size of the characters to be used in the text.
- Color - specifies the color to be used for the text.
- Text Shadow - specifies the size of the shadow (the offset), in pixels, for the text. To create a shadow effect, set a value other than zero (0). A positive value will result in a shadow positioned below and to the right of the text; a negative value will result in a shadow positioned above and to the left.
Border Appearance:
- Border Style - determines the style used for the element's border line. The line can be solid, dotted, etc. To disable the border, set the style to "Not Set".
- Color - if the Border Width property is set to a value greater than 0, then the resulting border line will have the color specified here.
- Width - sets the thickness of the border line, in pixels. If you do not want the border line to be displayed, set the width to 0.
Background Appearance:
- Fill Color - specifies the color to be used for the background area inside the text box border line. This will be the first color used if a gradient is chosen for the background. For no color (clear), write None.
- Fill End Color - if a Gradient type is selected the text box background will be given a graded color, changing from the Fill Color to the End Color.
- Gradient - determines the orientation of the element's color gradient fill. Click the down-arrow to open a drop-down list of the available types and select the desired type from the list. If None is selected, only the first color will be used; the second color will be ignored.
- Hatching - sets the hatching style for the element. Note that Hatching and Gradient can not be combined. If both are set, Hatching will take precedence.
- Shadow - specifies the size of the shadow (the offset), in pixels, for the text box. To create a shadow effect, set a value other than zero (0). A positive value will result in a shadow positioned below and to the right of the box; a negative value will result in a shadow positioned above and to the left.