How to Create Floating Bar Charts That Cross Zero
Question details
The user needs to create a floating bar chart for data ranges that straddle the zero line (e.g., -$30 to $45), which standard stacked column methods struggle to display correctly.

- Product
- Spreadsheet
- Device & OS
- not provided
- Scenario
- Displaying data ranges that span across positive and negative values on a single chart axis to create a continuous floating bar.
- Observed behavior
- Standard stacked column charts do not properly straddle the zero axis for ranges crossing y=0 without the use of complex positive and negative helper series.
Ensure your dataset clearly lists the exact minimum (low) and maximum (high) values for each category so you can calculate the necessary offset offsets.
Use Split Helper Series for Zero-Crossing Floating Bars
By calculating separate positive and negative segments and using invisible offset series, you can force a stacked column chart to seamlessly straddle the zero line.
A standard floating bar chart relies on a 'bottom' invisible series to push the visible bar up. When the target range drops below zero, a single invisible block is no longer mathematically sufficient. You must break the visible block into a negative piece and a positive piece.
For each data point, calculate the low point and the high point. If the range crosses zero, split it mathematically: create a 'Negative Segment' column (from the low value up to zero) and a 'Positive Segment' column (from zero up to the high value).
Select your newly calculated dataset, including the zero-offset helper series, and go to the Insert tab. Select 'Stacked Column Chart' from the Charts group.
Click directly on the offset helper series in the chart to select it. Right-click and choose 'Format Data Series'. In the formatting pane, set the Fill to 'No Fill' and the Border to 'No Line'.
To ensure the positive and negative segments look like a single continuous bar, keep the Format Data Series pane open, set the 'Series Overlap' to 100%, and adjust the 'Gap Width' to your visual preference.

Build Complex Data Visualizations with WPS Office
WPS Spreadsheet provides powerful charting tools, allowing you to easily build stacked column charts, apply invisible formatting to helper series, and visualize complex data ranges that cross zero with ease.
- 1. Prepare Data: Set up your low, high, and zero-crossing helper columns directly in your WPS Spreadsheet workspace.
- 2. Insert Chart: Highlight your data table, navigate to the Insert tab on the top ribbon, and choose the Stacked Column Chart option.
- 3. Format Data Series: Right-click the helper series on the chart, choose Format Data Series, and select 'No Fill' from the properties pane on the right.
- 4. Refine Appearance: Tweak the gap width and series overlap to seamlessly join the positive and negative bar segments into one floating bar.

Frequently Asked Questions
Why do standard stacked column charts fail for data crossing zero?
Standard stacked charts stack positive values upward from the axis and negative values downward. They cannot naturally span from a negative to a positive value as a single continuous floating block without breaking the range into specific mathematical segments first.
How do I make a series completely invisible in my chart?
Right-click the specific data series within the chart, select 'Format Data Series', navigate to the Fill & Line options in the side pane, and choose 'No Fill' and 'No Line'.
Can I use a Waterfall chart instead of a floating bar chart for this?
Yes, in many newer spreadsheet versions, Waterfall charts can automatically handle positive and negative floating increments. However, if you need to display strict minimum-to-maximum ranges per category rather than cumulative totals, the custom stacked column method offers more accuracy.




