Here's a plot made with echarts4r:
library(tibble)
library(echarts4r)
data_test <- tibble(
year = seq(1900, 1920, 1),
variable = seq(200, 400, 10)
)
data_test %>%
e_charts(year) %>%
e_x_axis(year) %>%
e_y_axis(variable) %>%
e_line(variable)
How can I format the values on the x-axis so that I have 1900 instead of 1,900 for example?
I checked here but couldn't find a solution.
