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.
- In the Default Tool Tip field, enter the tip you want to show for the default image. 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.
- Bind some web actions to the label in the Web Behaviors box (for details, see Applying web actions).
- Upon finishing, click the OK button to close this dialog.
See also Display Type dialog - Rank for detailed information about options in the dialog.