Rearrange Legend Labels XYChart

If I change the order of my series it rearranges the order of the labels in the legend, but it also rearranges the order of the columns in the chart.

Can anyone help me get the legend labels to match the column? I want to see the Backlog label next to the Backlog column and the LeadTime label next to the LeadTime column.

Thank you!

Can you provide a json file with your chart config? I was troubleshooting an XY chart yesterday, trying to get tooltips to work and the solution for me ended up being using the Time Series Chart instead (you can also render that one as a column/bar).