Stagger axis labels.
Arguments
- e
An
echarts4r
object as returned bye_charts
or a proxy as returned byecharts4rProxy
.
Examples
df <- data.frame(
x = c("a very long label", "Another long label"),
y = 1:2
)
df |>
e_charts(x, width = 150) |>
e_bar(y) |>
e_axis_stagger()