Formatting the labels
In JReport Designer, you can add as many labels as required into a chart. To add a label to a chart, right-click any chart element and select Add Label from the shortcut menu. A label with the text Label will then appear at the upper left corner of the chart platform. To remove a label, right-click it and select Remove.
This section shows you how to format the labels (including titles) of a chart to make them more meaningful.
To format the label in a chart:
- Double-click the label, or right-click the label and select Format Label from the shortcut menu to bring out the Format Label dialog.
- In the General tab, specify the label text, whether or not to attach an icon to the label, the icon settings if applying an icon, the position of the text in the label box, and the icon position relative to the text.
- In the Fill and Border tabs, specify the fill and border modes for the label (for details, refer to Formatting the platform).
- In the Font tab, set the font settings for the label.
- In the Orientation tab, set the rotation angle of the label text and the icon.
- When done, click OK to apply the settings and close the dialog.
See also Format Label dialog for detailed explanation about options in the dialog.