How to Keep the X-Axis at the Bottom of a Logarithmic Excel Chart
Question details
The user needs to position the X-axis permanently at the bottom of a chart when the Y-axis is formatted with a logarithmic scale.

- Product
- Spreadsheet
- Device & OS
- not provided
- Scenario
- Creating a chart with a logarithmic Y-axis to properly display data series with values ranging from thousands to millions.
- Observed behavior
- The X-axis crosses the plot area near the middle of the chart because the axis inherently intersects at zero, causing visual misalignment.
Ensure your chart is already created with your primary data series, and take note of the smallest and largest values in your dataset to help set appropriate axis bounds.
Use a Dummy Series and Secondary Axis
This method uses a hidden dummy series on the primary axis to anchor the X-axis at the bottom, while shifting the main data to a secondary logarithmic axis.
Because logarithmic scales cannot plot zero or negative numbers directly, standard axis crossing adjustments sometimes fail. A dummy series resolves this by forcing the primary axis to behave normally, letting the secondary axis handle the logarithmic scaling independently.
In your spreadsheet, add a new data column containing zeros or a small constant value. This series is meant to sit at the absolute bottom of your chart.
Right-click anywhere on the chart, click on 'Select Data', click 'Add', and select your newly created dummy series data.
Select your main data series on the chart, right-click it, and choose 'Format Data Series'. In the formatting pane, select 'Secondary Axis'. Repeat this step for all of your primary data series.
Click the secondary Y-axis (on the right side of the chart). In the Axis Options pane, check the 'Logarithmic scale' box and adjust the minimum and maximum bounds to fit your main data.
Click the primary Y-axis. Set its minimum bound to a small value (such as 0.1) so the X-axis stays at the bottom. Under the 'Labels' section, set the Label Position to 'None' to hide the numbers.
Select the dummy series line or bars on the chart. Go to 'Format Data Series', and under Fill & Line, select 'No line' and 'No markers' so it disappears from view.

Create Professional Logarithmic Charts with WPS Spreadsheet
WPS Spreadsheet provides intuitive charting tools that make handling complex data ranges and logarithmic scales effortless. Adjust axes, add secondary series, and perfectly align your chart layouts without wrestling with complicated settings.
- 1. Open data in WPS Spreadsheet: Launch WPS Office and open the workbook containing your extensive data series.
- 2. Insert your desired chart: Select your data range, navigate to the 'Insert' tab, and choose 'Chart' to select your preferred visualization style.
- 3. Open Axis Options: Double-click the Y-axis of your chart to instantly open the Axis Options menu on the right side of your screen.
- 4. Apply Logarithmic Scale: Under Axis Options, simply check 'Logarithmic scale' and easily specify the horizontal axis crossing point directly in the menu.

Frequently Asked Questions
Why does the X-axis move to the middle when using a logarithmic scale?
The X-axis is often set by default to cross at zero. Since a logarithmic scale mathematically cannot plot zero and must start at a small positive value (like 0.1 or 1), the visual 'zero' point gets pushed up, causing the X-axis to float in the middle of the chart.
Can I fix this by changing the 'Horizontal axis crosses' setting?
You can try double-clicking the Y-axis and entering a very small number under 'Horizontal axis crosses at Axis value'. However, depending on your data bounds, this might distort the chart or fail to keep the axis pinned dynamically, which is why adding a dummy series is a more reliable workaround.
Does the dummy series method work for Line and Scatter charts?
Yes, this method is highly effective for both Line and Scatter charts, as well as Bar and Column charts. As long as the chart type supports plotting data on a secondary axis, you can use the dummy series to anchor the primary X-axis.




