我在bootstrap 4中的流体容器上有背景属性的大问题。如何在此站点上修复移动版本上的文本/背景重叠 - http://176.32.230.8/finsburymedia-demos.com/legal_fund/ / on mobile version /
答案 0 :(得分:0)
请尝试使用此背景样式(请注意最后一行):
fr <- as.data.frame(unlist(predictions))
plot_data <- data.frame(y_test = unlist(y_test), stringsAsFactors = FALSE)
plot_data <- cbind.fill(plot_data, fr, fill = NA)
plot_data <- gather(plot_data, key = "key", value = "value")
plot_data <- plot_data %>% dplyr::group_by(key) %>% dplyr::mutate(n = 1:n()) %>% ungroup()
plot_data[plot_data$key!="y_test",] <- plot_data %>% filter(key != "y_test") %>% mutate(key = n %/%50)
ggplot(plot_data, aes(x = n, y = value, col = key)) + geom_line()
但也许你背景中的图像应该是更高的图像。