本文介绍了在highcharter中有等同于geom_ribbon的东西吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 highcharter ,可以复制 geom_ribbon 形式为ggplot2?

Using highcharter, is there a way to replicate geom_ribbon form ggplot2?

推荐答案

是的,它称为arearange.您可以在 https://中查看第三个示例. cran.r-project.org/web/packages/highcharter/vignettes/charting-data-frames.html .

Yes, it is called arearange. You can check the 3rd example in 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中有等同于geom_ribbon的东西吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-31 02:27