Get data from server into graph