Add support for bar chart.