Refactor JBBarChartView datasource and delegate