trying data listener
basic bar chart with data listener