Chart & Visualization Issues

How to Fix an Excel Scatter Chart Displaying Incorrect X-Values

Maira MehtabMaira Mehtab Nov 2, 2026 869 views

Question details

The user needs to fix a scatter chart in Excel that displays incorrect X-values or appears as a line chart due to invalid data in the selected range.

How to Fix an Excel Scatter Chart Displaying Incorrect X-Values
Product
Microsoft Excel
Device & OS
Windows 10
Scenario
Creating or editing a scatter chart where the X-axis data does not plot correctly.
Observed behavior
The scatter chart displays incorrect horizontal-axis category labels or transforms into a line-like sequence because headers, blank rows, or text values were included in the data range.
Before you start

Ensure that your dataset is clean and sorted. Identify the exact start and end rows of your numeric data, taking note to locate any header text, blank cells, or non-numeric strings that might be unintentionally selected in your current chart range.

Solution 1Recommended

Modify Chart Series to Exclude Headers and Text

Manually adjust the X and Y ranges for each chart series to strictly include numeric data rows, omitting headers, blanks, and invalid text.

When non-numeric values like headers, blank cells, or text (e.g., 'ZZZZZ') are included in a scatter chart's data range, the software treats the X-axis as categorical labels. This disrupts the proportional plotting of numeric data, making it appear like a standard line chart with evenly spaced points.

1
Open Select Data Source

Right-click the problematic scatter chart and click on 'Select Data' from the context menu.

2
Edit the Series

In the Select Data Source dialog box, choose the specific data series from the 'Legend Entries (Series)' list and click the 'Edit' button.

3
Adjust X and Y Ranges

Check the 'Series X values' and 'Series Y values' fields. Modify the ranges so they only cover cells with numeric data. For example, change an inaccurate range like '=Sheet1!$F$1:$F$71' to the precise numeric range '=Sheet1!$F$3:$F$70'.

4
Apply Changes

Click 'OK' to close the Edit Series dialog, then click 'OK' again to apply the new data range. Verify that the X-axis values are now plotting correctly on your scatter chart.

Modify Chart Series to Exclude Headers and Text
Tip: Always use clean, contiguous numeric columns for scatter charts to prevent the spreadsheet program from interpreting the X-axis values as text-based category labels.
Seamless Data Visualization

Create and Edit Accurate Scatter Charts with WPS Spreadsheet

WPS Spreadsheet provides intuitive data selection tools and precise chart formatting to ensure your scatter charts plot X and Y values correctly without hassle. It is a robust, highly compatible alternative for data visualization.

  1. 1. Open your data: Launch WPS Spreadsheet and open the workbook containing the data you want to plot.
  2. 2. Select the precise range: Highlight the exact numeric data range for your chart, intentionally avoiding column headers or rows containing text.
  3. 3. Insert the Scatter Chart: Navigate to the 'Insert' tab on the top ribbon and click the 'Scatter' chart icon to instantly generate an accurate visualization.
  4. 4. Fine-tune series data: If you need to make adjustments later, right-click the chart, choose 'Select Data', and directly modify the Series X and Y values using the visual range selector.
Easily select and edit precise data ranges for X and Y axes.Fully compatible with Microsoft Excel (.xlsx) formats and charts.User-friendly interface for advanced chart customization and troubleshooting.Free and lightweight suite for PC, Mac, and mobile devices.
microsoft office alternative - wps office

Frequently Asked Questions

Why is my scatter chart looking like a line chart?

This usually happens when the spreadsheet software encounters text, headers, or blank cells in your X-axis data range. It forces the chart to treat the X-values as categorical text labels, spacing them evenly like a line chart instead of plotting their actual numeric coordinates.

Can I include column headers in a scatter chart data range?

For a scatter chart, it is highly recommended to select only the numeric data for the X and Y values. If you include headers in the selection fields, the chart might misinterpret the data types and mess up the X-axis scale.

How do I fix incorrect category labels on my horizontal axis?

Right-click your chart and choose 'Select Data'. Edit your series and ensure the 'Series X values' box is referencing only the spreadsheet cells that contain your actual numeric data, explicitly omitting any extra header rows, blank rows, or text strings.