Graph retrieves data from database; only shows first goal.