is there an equivalent to geom_ribbon in highcharter?

雨燕双飞 提交于 2020-03-22 10:27:01

问题


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


回答1:


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))



来源:https://stackoverflow.com/questions/47782623/is-there-an-equivalent-to-geom-ribbon-in-highcharter

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!