Fix Excel Chart Showing Sequential Numbers Instead of X-Axis Values
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.

- 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.
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.
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.
Click anywhere on the existing chart to select it and reveal the Chart Tools on the top ribbon.
Navigate to the 'Chart Design' tab on the ribbon and click on 'Change Chart Type' located in the Type group.
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'.

Reassign Data Series and Format Axis Bounds
If your chart is already set to Scatter but still shows sequential numbers, the X-axis data range might be missing or the axis bounds might be incorrectly configured.
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. Select your data: Highlight the columns or rows containing both your X and Y numerical data.
- 2. Insert a chart: Go to the 'Insert' tab on the top ribbon and click the 'Chart' icon.
- 3. Choose XY Scatter: Select the 'XY (Scatter)' chart type from the list to ensure accurate plotting of numerical X-axis values.
- 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.

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.




