e_axis_stagger: Stagger Axis Labels

Description Usage Arguments Examples

View source: R/grid.R

Description

Stagger axis labels.

Usage

1

Arguments

e

An echarts4r object as returned by e_charts or a proxy as returned by echarts4rProxy.

Examples

1
2
3
4
5
6
7
8
9
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()

Example output



echarts4r documentation built on March 7, 2021, 5:06 p.m.