OK, I figured this out. I simply created an expression for each segment, starting with the bottom segment. Each expression is simply a number for the range of that bar segment.
For example, if you wanted five ranges:
Your expressions would be
This worked great and the line segment plotted correctly in the bar segments.