Trying to add core data to chart