Description Usage Arguments Value Examples
Interactive Bar Plot
1 | plot_ecbar(dp = NULL)
|
dp |
List of parameters
|
an echarts4r bar plot
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | ## Not run: plot_ecbar(dp)
## Not run:
dp = list(NULL)
dp$tab = tab
dp$xval = 'x'
dp$yval = 'y'
dp$group = 'group'
dp$color = 'color'
dp$text_format = ''
dp$label_color = '#A9A9A9'
dp$label_size = 10
dp$x_label_color = '#606060'
dp$x_label_size = 15
dp$margin_left = '10%'
dp$margin_right = '10%'
dp$margin_top = 60
dp$margin_bottom = 60
dp$title = 'Chart'
dp$chart_width = NULL
dp$chart_height = NULL
dp$legend = FALSE
dp$legend_left = 'auto'
dp$legend_right = 'auto'
dp$legend_top = 'auto'
dp$legend_bottom = 'auto'
dp$legend_orient = 'horizontal'
fplot = plot_ecbar(dp)
fplot
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.