在 highcharter 中是否有等同于 geom_ribbon 的内容?
is there an equivalent to geom_ribbon in highcharter?
使用 highcharter, is there a way to replicate geom_ribbon 形式 ggplot2
?
是的,它被称为arearange
。您可以查看 https://cran.r-project.org/web/packages/highcharter/vignettes/charting-data-frames.html.
中的第三个示例
highchart() %>%
hc_add_series(data, "arearange", hcaes(x, low = lowvalue, high = highvalue))
使用 highcharter, is there a way to replicate geom_ribbon 形式 ggplot2
?
是的,它被称为arearange
。您可以查看 https://cran.r-project.org/web/packages/highcharter/vignettes/charting-data-frames.html.
highchart() %>%
hc_add_series(data, "arearange", hcaes(x, low = lowvalue, high = highvalue))