【发布时间】:2016-02-25 20:14:38
【问题描述】:
我想为类别包装标签。 Plotly 正在显示我想要换行符的空格。当字符串变得太长时,它只会以 45 度角显示它们。
plot_ly(x =c("this\nand\nthat\nand\nall\nof\nthe\nthings",
"the\nother\nstring\nthat\nmakes\nthis\nway\ntoo\nlong"),
y = c(1,2), name = "testing",type = "bar")
我正在使用 Shiny / R
【问题讨论】: