Description Usage Arguments Value
Plot grouped bar charts using e_bar
. This function uses
datazoom
toolbox with type "inside". And the type of trigger is set to "axis" with axis
pointer type "shadow". For data label, it uses "bold" font weight to make the data label more
clear.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
data |
a data frame |
timeline_var |
character. The variable indicating timeline. |
x_var |
character. The variable that will be the X axis in the chart. |
bar_var |
character vector. The variables that will be used to draw grouped bar chart. |
bar_name |
character vector. The name of these variables in |
sec_y_axis |
logical, default FALSE. Whether to use secondary Y axis. |
main_lower_bound |
numeric. The lower bound of main Y axis. |
main_upper_bound |
numeric. The upper bound of main Y axis. |
emphasis_type |
character, default to use "series" as the emphasis type in echarts.
see parameter |
show_labels |
logical, default FALSE. Whether to show data label in each bar. |
label_fontsize |
numeric, default 12. The font size of data label. |
toolbox_freatures |
character vectors, default |
an object of class echarts4r
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.