0
横棒グラフplotly
のY軸の幅を広げたいとします。今、y軸が狭すぎるため、テキストはプロットの中に入ります。Plotly:幅を広げる方法Y軸?
Plotlyのexamplesページでも同じようなことが起こります。ここでは、カテゴリは単純には読みにくいです。
幅を広げる方法が見つかりません。ヘルプは高く評価されています!
例コード:
library(plotly)
p <- plot_ly(x = c(20, 14, 23),
y = c('long string which is not readable',
'orangutans (not readable)',
'monkeys'),
type = 'bar',
orientation = 'h')
UI上にあるように、https://help.plot.ly/axes/#step-8-axis-widthにする必要があります。 – Dendrobates