Use this feature to define the appearance of the chart legend. To access it, when viewing a chart, right-click and select legend. The legend window appears.
As you change the settings for the chart, a preview of the chart style is shown at the bottom of the window. The following properties are available:
Show a legend: Select this option to display a legend on your chart; clear (de-select) it to hide the legend. In the list immediately below, select what items you want to appear in the legend (data items, rows, etc.).
Legend text: Enter the legend text here. Note: you can use special keywords to display information dynamically.
Header: Enter text to appear at the top of the legend.
Footer: Enter text to appear at the bottom of the legend.
X: The horizontal position at which the legend will appear.
Y: The vertical position at which the legend will appear.
Horizontal align: Use this option to fine-tune the horizontal position of the legend.
Vertical align: Use this option to fine-tune the vertical position of the legend.
Show annotation: Select this option to display labels directly on the chart for each data series.
Annotation text: Enter the text to be used for the annotation here. The default value, %L, displays the data series name (response captions of the question in the chart). You can use %1 to return the value of the calculation which is enabled for charts (right-click on the calculation in the General section of your tab definition > Use for charts). This has some parameters available, e.g. if counts are used for charts %1(0, FALSE, 0) - this adds the counts of each response in your chart to the legend (to 0 decimal places). e.g. if you want to show percentages to one decimal place, you can use: %1(1, FALSE,0)%% - the penultimate % sign in this string is an escape character to show your values with the % sign. The first of the three parameters in parentheses is for decimal places. In this case, I want to show my percentages to 1 d.p.