Chart & Visualization Issues

Change the Numeric X-Axis Scale in an Excel Chart

Rana GarciaRana Garcia Nov 12, 2026 870 views

Question details

The user needs to adjust the numeric scale of the horizontal X-axis in an Excel chart.

Change the Numeric X-Axis Scale 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.
Before you start

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.

Solution 1Recommended

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.

1
Select the chart

Click the Excel chart to display the Chart Design or Chart Tools options.

2
Open the chart type settings

Choose Chart Design > Change Chart Type, or right-click the chart and select Change Chart Type.

3
Choose an XY Scatter chart

In the chart type list, select XY (Scatter), then choose a Scatter style with markers or lines and markers as needed.

4
Apply the new chart type

Click OK to convert the chart and make the horizontal axis a numeric value axis.

Change the Line chart to an XY (Scatter) chart
Numeric X-axis available: After conversion, you can set numeric bounds and intervals for the X-axis.
WPS Spreadsheet chart tools

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. 1. Select the chart: In WPS Spreadsheet, click the chart that needs a numeric horizontal axis.
  2. 2. Change the chart type: Open Chart Tools > Change Chart Type and select XY (Scatter).
  3. 3. Confirm the scatter style: Choose a Scatter style, such as markers or straight lines with markers, and click OK.
  4. 4. Format the X-axis: Click the horizontal axis, right-click it, and select Format Axis.
  5. 5. Set numeric scale values: Under Axis Options, enter the Minimum, Maximum, and Major unit values required for your data.
Convert a Line chart to an XY (Scatter) chart for a true numeric X-axis.Set X-axis minimum, maximum, and major-unit values in Format Axis.Open, edit, and save Microsoft Excel .xlsx and .xls chart workbooks.Use a familiar spreadsheet interface for quick chart editing.
microsoft office alternative - wps office

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.