Allows to set a bar direction for barcharts