From the look of your first plot, it seems that you do have the data to make the red/orange lines, but whatever logic you have used to create the data_red_lines
and data_orange_lines
is not always producing what you expect.
Are you able to provide the data/code to create the data so we can help you investigate, please? Ideally as a self-contained, reproducible example reprex
.