Only one variable/category (no grouping).
Chart type doesn’t use a legend (e.g., histogram).
Legend option hidden in Chart Editor.
No “grouping variable” defined in Chart Builder.
Double-click chart → Chart Editor → Elements → Show Legend.
In Chart Builder, add a grouping variable (e.g., Gender).
Use chart types that support legends (clustered bar, multiple line, pie).
As last resort, manually add text labels.
read more--https://allstreetfood.com/