Overlapping AreaMarks not working

I am trying to make a chart that looks like:

Basically a couple overlapping range AreaMark's, a LineMark and a couple RuleMarks. However when I have two separate AreaMark's I get this:

When one or the other of the AreaMark's ForEach loop is commented out it displays the proper graph. Its just the overlap of the two that is wonky.

FYI - The top graph was generated by the SwiftUI Charts package on GitHub which we are trying to move away from.

Thanks.

I figured out the issue: I was using the same series ID's between the two, even though there were separate. If I make sure they are unique it works.

Hi! I have the same. What do you mean with same series ID's. I have two seperate collections I'm iterating over in a ForEach. Maybe you can share a example.

Thank you!

kind regards

Overlapping AreaMarks not working
 
 
Q