Change the Numeric X-Axis Scale in an Excel Chart
Question details
The user needs to adjust the numeric scale of the horizontal X-axis in an Excel chart.

- Product
- Microsoft Excel chart
- Device & OS
- not provided
- Scenario
- The chart contains numeric values on both axes, and the user wants to define X-axis minimum, maximum, and major-unit values.
- Observed behavior
- The X-axis cannot be scaled numerically because the chart is using a Line chart category axis rather than a numeric value axis.
Check that your source data has one column for X values and one or more columns for Y values. An XY (Scatter) chart is required when the spacing between X values must reflect their actual numeric values.
Change the Line chart to an XY (Scatter) chart
Use this method when the horizontal axis is currently treated as category labels and cannot be assigned numeric scale limits.
Line charts use a category-based X-axis, even when the labels look like numbers. An XY (Scatter) chart uses a value-based X-axis, allowing you to set numeric minimum, maximum, and major-unit values.
Click the Excel chart to display the Chart Design or Chart Tools options.
Choose Chart Design > Change Chart Type, or right-click the chart and select Change Chart Type.
In the chart type list, select XY (Scatter), then choose a Scatter style with markers or lines and markers as needed.
Click OK to convert the chart and make the horizontal axis a numeric value axis.

Set the minimum, maximum, and major unit for the X-axis
Use this after converting the chart to XY (Scatter) to control the displayed X-axis range and interval spacing.
Create a Numeric X-Axis with an XY Scatter Chart in WPS Spreadsheet
WPS Spreadsheet lets you convert category-based line charts to XY (Scatter) charts and format the horizontal axis as a numeric value scale. You can then set precise X-axis bounds and major intervals for clearer data visualization.
- 1. Select the chart: In WPS Spreadsheet, click the chart that needs a numeric horizontal axis.
- 2. Change the chart type: Open Chart Tools > Change Chart Type and select XY (Scatter).
- 3. Confirm the scatter style: Choose a Scatter style, such as markers or straight lines with markers, and click OK.
- 4. Format the X-axis: Click the horizontal axis, right-click it, and select Format Axis.
- 5. Set numeric scale values: Under Axis Options, enter the Minimum, Maximum, and Major unit values required for your data.

Frequently Asked Questions
Why can’t I set a minimum or maximum value on my Excel line chart X-axis?
A Line chart uses a category X-axis, so Excel treats the values as labels rather than a continuous numeric scale. Change the chart to XY (Scatter) to access numeric axis bounds.
Will changing a Line chart to an XY Scatter chart affect my data?
The worksheet data remains unchanged. However, the chart will plot each point according to its actual X value, so points may be spaced differently than they were in the Line chart.
Where do I change the X-axis major unit in an XY Scatter chart?
Right-click the horizontal axis, select Format Axis, and open Axis Options. Enter the interval you want in the Major unit box.
Can an XY Scatter chart display lines between data points?
Yes. When selecting the Scatter chart type, choose Scatter with Straight Lines and Markers or Scatter with Smooth Lines and Markers.




