Added basic barChart functionality with parameterized data and options.