I'm novice in R and im doing a forecast for my dataset, as you can see in the diagram, the data before 2019,04 is training data, the part in blue (start from 2019,04- 2019,12) is my forecast and the red line is the test data(2019,04- 2019,12), the time interval is identical, but in the diagram it isn't continuous, how can I fix it?
library(forecast)
fit_ets %>% forecast(h=9) %>%
autoplot()+
autolayer(testing)