Symptom
- No legend.
- When there is multiple values, the chart displays a legend.
- Unable to see legend in a chart when only a single dimension is present in SAP Analytics Cloud.
Environment
SAP analytics Cloud 2023.16.10
Reproducing the Issue
- In SAP Analytics Cloud, open a story that contains a chart.
- When viewing the story with multiple values, the chart legend displays.
- Filter the data to only display one dimension value.
- Notice there is no legend displaying for the chart when there is only one value.
Cause
Legend is not set to display for a single dimension value.
Resolution
Set the Legend to display for one value:
- In SAP Analytics Cloud, open the story in edit mode.
- Ensure the chart data is filtered to only display one value, so it does not display the legend.
- Select the chart not displaying the Legend when there is only one value.
- In the upper right corner, click on the 3 dots.
- In the contextual menu, select "More Options > Show/Hide > Legend"
( Ensure the Legend option is checked ) - Save the story.
Keywords
chart. legend, story, sac , KBA , LOD-ANA-DES , Story Design & Visualizations , Problem
Product
SAP Analytics Cloud all versions
SAP Knowledge Base Article - Public