logo
search
Chart & Visualization Issues

How to Fix Excel Chart Legend Order Not Matching Data Order

Huda QurayshiHuda Qurayshi Oct 15, 2026 870 views

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.

How to Fix Chart Legend Order Not Matching Data Order in Excel
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.
Before you start

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.

Solution 1Recommended

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.

1
Open the Select Data Source window

Right-click on an empty space within your chart area and choose 'Select Data' from the context menu.

2
Locate the Legend Entries

In the 'Select Data Source' dialog box, find the list under 'Legend Entries (Series)' on the left side.

3
Rearrange the series

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.

4
Save the new order

Click 'OK' to close the dialog box. Your chart legend will instantly update to reflect the new sequence.

Reorder Series Using the Select Data Source Dialog
Pro Tip: Moving a series up in the list makes it appear earlier (or higher up) in the chart legend.
Manage Charts Easily

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. 1. Open your workbook: Launch WPS Spreadsheet and open the file containing your scatter chart.
  2. 2. Access Data Settings: Right-click the chart background and click 'Select Data' from the menu.
  3. 3. Reorder the Series: Select the series in the list and click the Up or Down arrows to arrange your legend.
  4. 4. Apply and Save: Click 'OK' to apply your new legend order and save your workbook.
Easily reorder chart legends with a user-friendly interface100% format compatibility with Microsoft Excel (.xlsx) chartsFree, lightweight, and fast document processingFamiliar layout ensures zero learning curve
microsoft office alternative - wps office

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.