How to Create an Excel XY Scatter Chart with Correct Axis Data
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.

- 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.
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.
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.
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.
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'.
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.
Right-click the X-axis, select Format Axis, and configure the bounds according to your specific data range (e.g., Minimum 400, Maximum 700).

Manually Assign X and Y Values in Chart Settings
If your chart is already created but plotting incorrectly, manually re-assign the X and Y data ranges in the Select Data Source dialog.
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. Open your data file: Launch WPS Spreadsheets and open your workbook containing the numerical and percentage data.
- 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. 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.

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.




