As rank

To define the display type of a label as rank, follow the steps below:

  1. Right-click the label and select Display Type from the shortcut menu to open the Display Type dialog.
  2. In the Display As box, select Rank. See the dialog.
  3. 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).
  4. 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.
  5. 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.
  6. Specify the rotation degree of the default image in the Default Image Rotation field.
  7. 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.

  8. If needed, bind some web actions to the label in the Web Behaviors box (for details, see Applying web actions to a label).
  9. Upon finishing, click the OK button to close this dialog.

Notes: