[dynamicCharts] barcharts can be horizontal or vertical