【发布时间】:2020-01-19 13:18:27
【问题描述】:
我在 Hichcharts 中使用 R 完成了一个很酷的 sankey 图表。 结束节点的字体非常小,我喜欢,所以我想知道如何使它更大(容器也必须更宽)。
highchart() %>%
hc_chart(type = 'sankey') %>%
hc_add_series(
data = list(
list(from = 'FOOD', to = "M", weight = 10),
list(from = 'CARS', to = "M", weight = 50),
list(from = 'READING', to = "M", weight = 45),list(from = 'FOOD', to = "F", weight = 100),
list(from = 'CARS', to = "F", weight = 56),
list(from = 'READING', to = "F", weight = 25))
)
【问题讨论】:
标签: r highcharts r-highcharter