Chart & Visualization Issues

How to Create an Excel XY Scatter Chart with Correct Axis Data

Phi Hung VoPhi Hung Vo Nov 4, 2026 869 views

Question details

The user needs to create an accurate XY Scatter chart using numeric X-axis values and percentage Y-axis values without them being incorrectly plotted as category labels.

How to Create an XY Scatter Chart with Correct Data in Excel
Product
Excel
Device & OS
not provided
Scenario
Plotting laboratory or numerical data where precise X (e.g., 400-700) and Y (e.g., 0%-80%) coordinates are required.
Observed behavior
Standard line charts are incorrectly plotting the numerical axis values as text-based category labels rather than true chart coordinates.
Before you start

Ensure your data is organized into clear columns or rows with distinct X and Y numerical values. Format your Y-axis data as percentages beforehand if you want them to display as percentages on the final chart.

Solution 1Recommended

Format Data and Insert an XY Scatter Chart

Properly calculate and format your percentage data before inserting an XY Scatter chart and setting custom axis bounds.

To ensure your chart maps coordinates accurately instead of treating numbers as labels, you must use an XY Scatter chart rather than a standard Line chart.

1
Calculate and format Y values

If your raw data needs to be percentages, use a formula like =A2/100 in a new column and apply the Percentage format to the cells.

2
Select data and insert chart

Highlight your X and Y data columns (e.g., B2:C14). Navigate to the Insert tab, click the Scatter Chart icon, and select 'Scatter with Straight Lines and Markers'.

3
Adjust Y-axis bounds

Right-click the Y-axis on the chart and select Format Axis. Set the Minimum bound to 0.0, Maximum to 0.8 (which represents 80%), and Major Unit to 0.2.

4
Adjust X-axis bounds

Right-click the X-axis, select Format Axis, and configure the bounds according to your specific data range (e.g., Minimum 400, Maximum 700).

Format Data and Insert an XY Scatter Chart
Formatting Tip: Applying the Percentage format directly to the source cells automatically passes that formatting to the chart's axis labels.
Easily Visualize Data with WPS Spreadsheets

Create Accurate Scatter Charts with WPS Spreadsheets

WPS Office provides an intuitive interface for managing complex data sets and generating precise XY Scatter charts, offering full compatibility with Excel chart formats and settings.

  1. 1. Open your data file: Launch WPS Spreadsheets and open your workbook containing the numerical and percentage data.
  2. 2. Insert a scatter chart: Select the data ranges you want to plot, navigate to the 'Insert' tab, click 'Chart', and select the 'XY (Scatter)' chart type.
  3. 3. Format axes: Double-click any axis to open the Format Data panel on the right side, where you can easily adjust the minimum, maximum, and interval values.
Fully compatible with Microsoft Excel (.xlsx) file formats and charts.Intuitive 'Select Data' dialog for easy assignment of X and Y axis values.Advanced axis formatting options for precise numerical boundaries and intervals.Free, lightweight, and fast alternative to standard office suites.
microsoft office alternative - wps office

Frequently Asked Questions

Why is Excel treating my X-axis numbers as text labels?

This usually happens if you insert a standard Line Chart instead of an XY Scatter Chart. Line charts treat the horizontal axis as categorical text labels by default, whereas Scatter charts plot numerical data properly on both the X and Y axes.

How do I change my chart's Y-axis to show percentages instead of decimals?

Right-click the Y-axis and choose Format Axis. In the axis options pane, scroll down to the Number section and change the Category to Percentage. Alternatively, format the original source data cells in your worksheet as percentages, and the chart will update automatically.

Can I set custom spacing intervals for my scatter chart axes?

Yes. Right-click the axis you want to modify, click Format Axis, and adjust the 'Major' and 'Minor' Units under the Axis Options section to change the exact spacing between tick marks on the chart.

What if my X and Y data are in horizontal rows instead of columns?

If your data is arranged horizontally, insert the chart as usual. Once inserted, select the chart, go to the Chart Design tab on the ribbon, and click 'Switch Row/Column', or manually select the horizontal ranges for X and Y in the 'Select Data' menu.