Fix/improve bar charts with factors