How to Fix Excel Chart Legend Order Not Matching Data Order
Question details
The user is trying to correct the legend order in an Excel scatter chart that does not reflect the actual source data or intended series order.

- Product
- Spreadsheet
- Device & OS
- not provided
- Scenario
- Creating or formatting a scatter chart and attempting to organize the legend entries logically.
- Observed behavior
- Legend items are displayed in an unexpected sequence, ignoring manual changes made to the source data range.
Verify that your chart is a standard chart and not a PivotChart, as PivotChart legends are strictly controlled by the PivotTable's sorting rules. For standard charts, ensure all your source data is complete before modifying the series order.
Reorder Series Using the Select Data Source Dialog
This is the most reliable method to change the legend order without altering your actual worksheet data.
In Excel and WPS Spreadsheet, scatter chart legends are determined by the order in which data series are added to the chart, not necessarily by their physical position in the worksheet cells. Modifying the series order in the chart settings directly forces the legend to update.
Right-click on an empty space within your chart area and choose 'Select Data' from the context menu.
In the 'Select Data Source' dialog box, find the list under 'Legend Entries (Series)' on the left side.
Click on the specific series you want to reposition. Use the 'Move Up' (upward arrow) or 'Move Down' (downward arrow) buttons at the top of the list box to change its position.
Click 'OK' to close the dialog box. Your chart legend will instantly update to reflect the new sequence.

Reverse the Axis Order
Use this method if your bar or column chart legend is in the exact opposite order of what you need.
Easily Customise Chart Legends in WPS Spreadsheet
WPS Spreadsheet provides an intuitive interface to manage complex chart data, adjust legend orders, and visualise data effectively. It is a powerful, free tool that seamlessly handles Microsoft Excel files.
- 1. Open your workbook: Launch WPS Spreadsheet and open the file containing your scatter chart.
- 2. Access Data Settings: Right-click the chart background and click 'Select Data' from the menu.
- 3. Reorder the Series: Select the series in the list and click the Up or Down arrows to arrange your legend.
- 4. Apply and Save: Click 'OK' to apply your new legend order and save your workbook.

Frequently Asked Questions
Why doesn't my scatter chart legend update when I sort my source data?
Scatter charts and some other chart types link their legend order to the sequence in which the series were originally added to the chart. Sorting the physical worksheet rows won't change this internal sequence; you must use the 'Select Data' dialog to rearrange them.
How do I hide a specific item from the chart legend without removing the data?
Click on the chart legend to select it, then click directly on the specific legend entry you wish to remove so that only it is highlighted. Press the Delete key on your keyboard. The data will remain on the chart, but the label will disappear from the legend.
Can I manually drag and drop legend items to reorder them?
No, Excel and WPS Spreadsheet do not support dragging and dropping items directly within the legend box. You must adjust the series order via the 'Select Data Source' menu.




