Line Graph Turning Points

I am using a plotly line graph overlaid on a bar graph and would like to know if there are any methods or modes that can be used to move the turning point of the line to match the right hand side of each bar.
The current plot is shown below. The desired intent of the line is to show a 90% ‘threshold’ for each day’s data with the line for each day extending across the whole bar and turning in between each bar. For example, the bar should only turn at a 90 degree angle between the fourth and fifth bar.
image

Thanks in advance.