How to Prevent Excel Chart Borders from Crossing the Zero Line
Question details
The user wants to prevent thick column borders in Excel charts from visually crossing or bleeding over the horizontal zero axis when plotting both positive and negative values.

- Product
- Spreadsheet Software
- Device & OS
- not provided
- Scenario
- Formatting an Excel column chart that contains both positive and negative values with thick borders on the data series.
- Observed behavior
- Thick column borders extend across the horizontal zero-axis line, creating an overlapping or messy visual effect.
Ensure your chart has been generated with both positive and negative data series and that the horizontal axis is visible.
Match the Zero-Axis Line Thickness to the Column Border
The most effective way to conceal the border overflow is to make the horizontal axis line match the column border's color and thickness.
By default, Excel centers the border line on the edge of the column shape, which causes thick borders to bleed over the axis. Masking this overlap with an identically formatted axis line creates a clean, flush appearance.
Right-click on the horizontal axis (the x-axis at the zero line) of your chart and select 'Format Axis' from the context menu.
In the Format Axis pane on the right side of the screen, click on the 'Fill & Line' icon (which looks like a paint bucket).
Under the 'Line' section, select 'Solid line'. Change the line color to perfectly match the color you used for your column borders.
Find the 'Width' option and increase the point size to match the exact thickness of your column borders (e.g., 2 pt or 3 pt).

Reduce or Remove the Column Border Width
Reducing the thickness of the column borders minimizes or completely eliminates the visual overlap across the zero line.
Create and Format Professional Charts Easily with WPS Spreadsheet
WPS Spreadsheet offers an intuitive interface for creating and formatting complex charts. You can easily adjust axis lines, column borders, and colors to prevent overlap issues and make your data visualization flawless.
- 1. Open your data in WPS Spreadsheet: Launch WPS Office, open your spreadsheet, and highlight your data to insert a column chart from the 'Insert' tab.
- 2. Format Data Series: Double-click the chart columns to open the 'Format Data Series' pane on the right side of your workspace.
- 3. Adjust Border Settings: Navigate to the 'Line' section and adjust the border thickness or choose 'No line' to prevent it from crossing the zero axis.
- 4. Modify the Zero Axis: Select the horizontal axis and modify its solid line color and thickness to seamlessly blend with your chart's design.

Frequently Asked Questions
Why do my column borders overlap the zero line in Excel charts?
When you apply a thick border to a data series in a column chart, the software centers the border stroke directly on the edge of the shape. This causes half of the border's thickness to extend beyond the column boundary and across the zero line onto the opposite side.
Can I set the border stroke to align to the inside of the column?
Standard spreadsheet chart formatting does not natively support an 'align to inside' option for data series borders. The best available workaround is to match the axis line thickness to the border width or simply reduce the border thickness.
How do I change the color of the zero line without affecting the gridlines?
You can change the zero line color independently by right-clicking the horizontal axis itself, selecting 'Format Axis', and adjusting the 'Solid Line' color under the 'Fill & Line' tab. This will format the axis line without altering the background gridlines.




