在R中使用highcharter堆叠多列?

问题描述

这是我目前拥有的内容,这些列按“井” 1-24分组,每列由“天”分为6部分,再由“类”分为7部分。

enter image description here

这是我要实现的目标,将每列1-24的列拆分成6列(第1-6天),按类1-7进行堆叠:

enter image description here

这是我到目前为止在代码中得到的(不很抱歉):

    rowaplate1 %>%       
   hchart(type = 'column',hcaes(x = `well`,y = `count`,group = day)) %>%
   hc_plotOptions(column = list(stacking = "normal")) %>%
   hc_title(text = "",style = list(fontWeight = "bold",fontSize = "30px"),align = "center") %>% 
   hc_subtitle(text = 
                "",style = list(fontWeight = "bold"),align = "center") %>% 
  hc_add_theme(hc_theme_flat()) #smpl/db/538/alone/bloom/economist/elementary/ffx/flat/flatdark/ft

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)