Please follow the steps below to add a legend to a Chart:
Step 1: Click anywhere on the chart and the "Design" tab will appear in the Ribbon ("Chart Design" tab in Excel 2019);
Step 2: In the "Design" tab, click "Add Chart Element";
Step 3: Click "Legend" from the drop down list, then select one of the following positions "Right", "Top", "Left" or "Bottom";
Step 4: The following is the example with the legend at the bottom;
Please note that you can click on the Legend and drag to the position you want;
To delete the "Legend", the easy way is to click on it and press "Delete" key in the keyboard, or repeat the steps above and select "None" from the drop down list.