Added support for bar chart