As rank
To define the display type of a label as rank, follow the steps below:
- Right-click the label and select Display Type from the shortcut menu to open the Display Type dialog.
- In the Display As box, select Rank. See the dialog.
- In the Web Options panel, click the Browse button to select an image file to be the default image (used if a value does not fit any of the specified value ranges).
- Type a string in the Default Image Alternate Text field. The string will be displayed when the default image cannot be loaded or is unavailable. If you want to use a formula to control the alternate text, click and select a formula from the drop-down list. You can also click the <CREATE FORMULA> item in the list to create one as required. If the label is in a crosstab, you can also use a crosstab formula created in the crosstab to control the alternate text, or click <CREATE CROSSTAB FORMULA> to create one.
- In the Default Tool Tip field, enter the tip you want to show for the default image, or use a formula to control the tooltip. Then at server runtime or in HTML results, when you hover the mouse over the image, the tooltip will be displayed.
- Specify the rotation degree of the default image in the Default Image Rotation field.
- 0 - No rotation.
- Positive value - Rotate the image clockwise.
- Negative value - Rotate the image anticlockwise.
- In the Value Range box, specify different ranges according to your requirements. For each value range, you should specify the minimum value, maximum value, image, alternate text, tooltip and rotation. A value, which is larger than or equal to the minimum value of a range and less than the maximum value, will be displayed as the image, or the alternate text if the image cannot be loaded or is unavailable. For a value belonging to two or more overlapping ranges, the highest range in the Value Range box will apply.
Click or to add or delete a range, and or to adjust the order of the ranges.
- If needed, bind some web actions to the label in the Web Behaviors box (for details, see Applying web actions to a label).
- Upon finishing, click the OK button to close this dialog.