Chart & Visualization Issues

Fix Excel Chart Showing Sequential Numbers Instead of X-Axis Values

Camila MilosovichCamila Milosovich Oct 28, 2026 869 views

Question details

The user needs to correct a chart that displays sequential numbers (1, 2, 3...) on the horizontal axis rather than the intended numeric coordinates or labels.

How to Fix Excel Chart Showing Sequential Numbers Instead of X-Axis Values
Product
Excel
Device & OS
not provided
Scenario
Creating or modifying a chart where the horizontal axis should represent specific numeric values or dates.
Observed behavior
The chart treats X-axis values as categorical text labels or data-point indexes, displaying sequential integers instead of the actual source data.
Before you start

Verify that your source X-axis data contains purely numeric values without hidden text formatting or leading spaces, as text-formatted numbers force the chart to default to sequential indexing.

Solution 1Recommended

Change the Chart Type to XY (Scatter)

Line charts treat X-axis data as evenly spaced categorical labels by default. Converting your graph to an XY (Scatter) chart forces the software to read the X-axis values as continuous numeric coordinates.

The most common cause of this issue is using a Line Chart for numerical X-axis data. Scatter charts are specifically designed to plot both horizontal and vertical axes as numeric data, ensuring the accurate scaling and display of your X values.

1
Select your chart

Click anywhere on the existing chart to select it and reveal the Chart Tools on the top ribbon.

2
Open the Change Chart Type menu

Navigate to the 'Chart Design' tab on the ribbon and click on 'Change Chart Type' located in the Type group.

3
Apply Scatter chart

Select 'X Y (Scatter)' from the list of available chart categories on the left. Choose your preferred scatter style (such as Scatter with Straight Lines) and click 'OK'.

Change the Chart Type to XY (Scatter)
Chart Conversion: Your X-axis should instantly update to display the correct numeric values with proportional spacing.
Create and Format Charts Easily

Easily Manage Chart Axes in WPS Spreadsheet

WPS Spreadsheet provides intuitive chart creation tools that automatically detect numeric X-axis values, preventing the sequential number error. It offers a smooth experience for data visualization and is perfectly compatible with Excel files.

  1. 1. Select your data: Highlight the columns or rows containing both your X and Y numerical data.
  2. 2. Insert a chart: Go to the 'Insert' tab on the top ribbon and click the 'Chart' icon.
  3. 3. Choose XY Scatter: Select the 'XY (Scatter)' chart type from the list to ensure accurate plotting of numerical X-axis values.
  4. 4. Adjust axis settings: Double-click the X-axis in the generated chart to open the formatting pane, where you can easily customize the axis bounds and units.
Fully compatible with Microsoft Excel (.xlsx) file formats and chart elements.Intuitive and easy-to-use interface for modifying chart types and axis data.Automatically applies correct scaling for XY Scatter plots.Free, lightweight, and fast office suite for all your spreadsheet needs.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Excel chart show 1, 2, 3 instead of dates on the X-axis?

This happens when the spreadsheet fails to recognize your date column as valid date values, treating them as plain text instead. Ensure your dates are formatted properly using the 'Short Date' number format, then update your chart's data source.

What is the difference between a Line Chart and an XY Scatter Chart?

A Line Chart treats X-axis values as evenly spaced text categories, regardless of their numerical value or interval. An XY Scatter Chart plots both horizontal and vertical data as numerical coordinates, representing the true mathematical spacing between data points.

How do I change the numeric intervals or spacing on my X-axis?

Right-click the numbers on your X-axis and choose 'Format Axis'. In the Format Axis pane, look for the 'Units' section. Adjust the 'Major' unit value to define the numeric spacing between the labels or tick marks.