Read barChart data from attribute