Replace Numeric X-Axis Labels in an Excel Scatter Chart
Question details
The user wants to display text labels such as D-22, I2, and E12 along the horizontal axis of an Excel chart.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Creating a chart with text categories on the horizontal axis and numeric values on the vertical axis.
- Observed behavior
- An XY Scatter chart uses numeric values on both axes, so text cannot directly replace its horizontal axis numbers.
Place the text labels and their corresponding numeric values in adjacent columns, with one label and value per row. A line chart spaces categories evenly, so check whether preserving numeric X-axis spacing is important.
Use a Line Chart with Markers for Text X-Axis Labels
Use this method when equally spaced text categories can replace the numeric X-axis positions.
In the worksheet, select the adjacent columns containing the text labels and numeric values, including headers if present.
Choose Insert > Line or Area Chart > Line with Markers. Excel should use the text column as the horizontal category labels.
If the labels are incorrect, right-click the chart and choose Select Data. Under Horizontal (Category) Axis Labels, click Edit and select the cells containing the text labels.
Right-click the plotted series and choose Format Data Series. Under Fill & Line > Line, select No line to leave the markers visible.
Right-click the horizontal axis and choose Format Axis. Under Axis Options, choose On tick marks if you want the categories positioned on the tick marks.

Display Text X-Axis Labels in WPS Spreadsheets
Use a line chart with markers in WPS Spreadsheets to display text categories along the horizontal axis, then remove the connecting line for a scatter-like appearance.
- 1. Open the data: Open WPS Spreadsheets and load the workbook containing the text labels and numeric values.
- 2. Select both columns: Select the label column and the adjacent numeric value column, including headers if available.
- 3. Insert a chart: Choose Insert > Chart, then select a line chart with markers.
- 4. Format the series: Right-click the plotted series, open Format Data Series, and set the line to No line while keeping the markers visible.

Frequently Asked Questions
Why can't I type text labels directly onto an Excel scatter chart's X-axis?
An XY Scatter chart uses a numeric value axis for the horizontal axis. Use a line chart with markers if you need text to appear as category labels.
How do I assign the correct horizontal labels in Excel?
Right-click the line chart, choose Select Data, and click Edit under Horizontal (Category) Axis Labels. Select the cells containing your text labels.
Will a line chart preserve the spacing of my scatter chart?
No. A line chart generally spaces categories evenly, while an XY Scatter chart positions points according to their numeric X values.
How can I make a line chart look like a scatter chart?
Choose a line chart with markers, then right-click the series and select Format Data Series > Fill & Line > Line > No line. The markers remain without connecting lines.




