Chart & Visualization Issues

How to Display Series Names Directly on Chart Lines in Excel

Adam DavisAdam Davis Oct 26, 2026 869 views

Question details

The user wants to display data series names directly on chart lines to avoid relying on a traditional color-coded chart legend.

How to Display Series Names Directly on Chart Lines in Excel
Product
Microsoft Excel / WPS Spreadsheet
Device & OS
not provided
Scenario
Formatting a line chart to make data identification faster and more intuitive for viewers without needing to cross-reference a separate legend.
Observed behavior
By default, chart series are identified using a separate legend box. The goal is to attach a label displaying the series name directly to the specific data line.
Before you start

Ensure your line chart is already created and populated with multiple data series so you can accurately select the specific endpoints for labeling.

Solution 1Recommended

Add Data Labels to Specific Chart Points

Use the built-in 'Add Data Label' feature to attach a series name to a single point on the chart line, keeping the visualization clean.

Applying a data label to an entire series will clutter your chart with text at every data point. To achieve a clean look similar to direct line labeling, you should isolate a single data point (usually the last point on the right) and apply the series name exclusively to it.

1
Select the Chart Line

Click on your existing chart, then single-click the specific line for the desired data series to highlight the entire line.

2
Select a Single Data Point

Click again on the final data point of that specific line. You should now see selection handles only on that single point.

3
Add the Data Label

Right-click the selected data point and choose 'Add Data Label' from the context menu. A number (the data value) will appear.

4
Format the Label to Show Series Name

Right-click the newly added label and select 'Format Data Label'. In the formatting pane, check the 'Series Name' box and uncheck the 'Value' box. Set the Label Position to 'Right' or 'Above' for best visibility.

Add Data Labels to Specific Chart Points
Repeat for All Series: You will need to repeat this exact process for each individual data series line present in your chart to label them all.
Simplify Chart Formatting with WPS Office

Easily Add Labels to Chart Lines in WPS Spreadsheet

WPS Spreadsheet offers an intuitive and free way to format charts, add custom data labels, and manage series names, ensuring a streamlined workflow and seamless compatibility with all your existing workbooks.

  1. 1. Open your Workbook in WPS Spreadsheet: Launch WPS Office and open your .xlsx file containing the line chart.
  2. 2. Select the Target Chart Point: Click on the line chart, then double-click the final point of the series line you want to label so that only one point is selected.
  3. 3. Insert the Series Name: Right-click the point, select 'Add Data Labels', then click the 'Chart Elements' icon to format the label to display only the Series Name.
Quickly add and format data labels directly on chart linesFully compatible with Microsoft Excel (.xlsx) chart formatsIntuitive side-panel for customizing chart elements and series namesLightweight, fast, and completely free to use
microsoft office alternative - wps office

Frequently Asked Questions

Why is the data label showing a number instead of the series name?

By default, spreadsheet software adds the numerical 'Value' to a new data label. You need to right-click the label, choose 'Format Data Label', check the 'Series Name' box, and uncheck 'Value'.

Can I apply the series name to the entire line at once?

If you add data labels to the entire series, a label will appear at every single data point. To keep the chart clean and readable, it is recommended to select just one data point (usually the last one) to display the series name.

Will these line labels update if I change the series name in my data?

Yes, as long as the data label is linked to the series name in the formatting options, any changes made to the series header in your source data will automatically update on the chart.

How do I remove the default chart legend after labeling lines?

Click on the default legend box at the bottom or side of your chart and press the Delete key on your keyboard, or uncheck 'Legend' from the Chart Elements menu (the plus icon next to the chart).