e_bar(
e,
serie,
bind,
name = NULL,
legend = TRUE,
y_index = 0,
x_index = 0,
coord_system = "cartesian2d",
...
)

e_bar_(
e,
serie,
bind = NULL,
name = NULL,
legend = TRUE,
y_index = 0,
x_index = 0,
coord_system = "cartesian2d",
...
)

## Arguments

e An echarts4r object as returned by e_charts or a proxy as returned by echarts4rProxy. Column name of serie to plot. Binding between datasets, namely for use of e_brush. name of the serie. Whether to add serie to legend. Indexes of x and y axis. Coordinate system to plot against. Any other option to pass, check See Also section.

## Note

The bar serie expects the data on the x axis to be categorical in R this means a factor or character. If the data on the x axis is numeric everything should work well in most cases but strange behaviour may be observed.

library(dplyr)