First row of the data matrix is taken for creating the bar series. In case of barplot color grouping is made based on columns (not rows as for all other plots).
plotBars(ps, col = ps$col, bwd =0.8, border =NA, force.x.values =NA)
Arguments
ps: plotseries object
col: colors of the bars
bwd: width of the bars (as a ratio for max width)
border: color of bar edges
force.x.values: vector with corrected x-values for a bar plot (needed for group plots, do not change manually).