### Changing the display type of a label

The display type of a label can be changed according to your requirements, that is to say, you can map the label to another value or image to be displayed instead.

JReport provides 13 kinds of display types: text, image, barcode, rank, text field, hidden field, text area, checkbox, radio button, image button, button, list, and drop-down list.

To change the display type of a label:

1. Right-click the label and select Display Type to open the Display Type dialog.
2. In the Type box, select the type as required.
3. Set the options for the selected type in the Options panel.
4. Click the OK button to close the dialog.

A label can be displayed as one of the following general types:

- As text
- As image
- As barcode
- As rank

Note: The display type of a label can also be changed to a web control, including text field, hidden field, text area, checkbox, radio button, image button, and button. A label cannot be displayed as list or drop-down list. For details about how to make settings of these display types, see Defining web control values.