Adding data to bar-chart after creating the instance was no longer working. Creating instances after fetching data instead.