Plotly Dash Trend Line with multiple line-types

Is it possible to change the formatting of a trend line based off of the x-axis value?

Simple use case of showing a line with actual values (solid line) AND forecasted values (dashed lines) in 1 trace… So in the legend there would still be 1 value for the line (i.e. Sales), and clicking that value would turn the entire line on or off.

Right now, the only way I’ve been able to do it is plot as 2 separate traces