Fix error, add 'barGap' option for bar charts