Chart & Visualization Issues

Fix an Excel Chart Legend Showing Week Labels Instead of One Series

Huma Ashraf ChHuma Ashraf Ch Dec 2, 2026 869 views

Question details

Assign the correct series name and week labels to a single-series Excel line chart.

Fix an Excel Chart Legend Showing Week Labels Instead of One Series
Product
Microsoft Excel
Device & OS
not provided
Scenario
A user wants a line chart to show one legend entry named Test and week labels on the horizontal axis.
Observed behavior
The legend shows week labels as separate entries instead of displaying one series.
Before you start

Identify the cells containing the week labels, the Test header, and the corresponding numeric values. Make sure the week labels and values cover the same number of data points.

Solution 1Recommended

Assign the series and category labels in Excel

Use Select Data to replace the unwanted week-based series with one Test series and place the weeks on the horizontal axis.

1
Open the data source

Select the chart, then choose Chart Design > Select Data.

2
Check the data orientation

In the Select Data Source dialog, try Switch Row/Column if Excel has treated each week as a separate series. Check whether Legend Entries (Series) now contains one series.

3
Set the Test series

Under Legend Entries (Series), remove any unwanted week-based entries. Select the remaining series and choose Edit, or choose Add if none remains. Set Series name to the Test header cell and Series values to the numeric data cells.

4
Assign the week labels

Under Horizontal (Category) Axis Labels, choose Edit and select the cells containing the week labels. Click OK, then click OK again to update the chart.

Assign the series and category labels in Excel
Check the result: The legend should show Test once, while the week labels appear along the horizontal axis.
Edit charts in WPS Spreadsheets

Set the chart series and week labels in WPS Spreadsheets

Open the workbook in WPS Spreadsheets and use the chart data settings to define one Test series and assign the week labels to the horizontal axis.

  1. 1. Open the workbook: In WPS Spreadsheets, choose Open and select the Excel workbook containing the chart.
  2. 2. Open chart data settings: Select the chart and choose Select Data from the chart tools or the chart's right-click menu.
  3. 3. Set the series: In the data source dialog, remove unwanted week-based series and edit or add a series. Select the Test header for the series name and the numeric cells for the series values.
  4. 4. Set the axis labels: Edit the horizontal category axis labels, select the week-label cells, and confirm the dialog. Check that the legend shows one Test entry.
Correct a line chart legend by adjusting its series and category labelsOpen and edit Microsoft Excel XLSX and XLS filesUse a familiar spreadsheet interfaceWork with charts in a free office suite
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Excel chart show each week in the legend?

Excel may have interpreted each week as a separate series. Select the chart and open Chart Design > Select Data to check the entries under Legend Entries (Series).

Can Switch Row/Column fix the legend?

Yes, if the source data was interpreted in the wrong orientation. Select the chart, choose Chart Design > Select Data, and click Switch Row/Column. Then verify the series name and horizontal axis labels.

How do I rename the single legend entry to Test?

In Chart Design > Select Data, select the series under Legend Entries (Series) and click Edit. Set Series name to the cell containing Test, then confirm.

Where should I select the week labels?

In the Select Data Source dialog, click Edit under Horizontal (Category) Axis Labels and select the cells containing the weeks. Select one label for each plotted value.