Changing bar chart legend

I have a bar chart on a dashboard with two series on it. They both appear in the legend as “Sum” even though those are not the title of the questions. How do I change the label in the legend?