Converting area charts to bar charts